They don't need to, at least not between the countries within the Schengen area. There's only one visa required to gain access to the whole Schengen area, so once you've entered via one country, you're free to travel to other countries. They only check passports when you travel between countries...