Common sense in the restaurant story
A restaurant is a place you go to eat.
People eat in a restaurant sitting down.
When people go to a restaurant, they expect a waiter to serve them within a few minutes.
People become angry when their expectations are not met.
If you slam a door, it is a way of expressing anger.