Children don’t understand decorum.
They don’t know that society has rules. That society demands you behave in a certain way in certain places. It’s called being civilized.
Children are not civilized. My two-year-old might as well be a rabid animal most of the time.
Getting him to behave the way one is supposed to behave is impossible.