A passport is necessary to travel from one restaurant to another.
Not everyone wno eats at restaurants has a passport.
If you don't have a passport you can't have a meal at a restaurant in a different country.
Passports are only necessary for international travel.