That's my point. It's a lot more complicated than "stand to the right on an escalator." You have to learn through observation, read the atmosphere, and engage with context.
There are some less obtuse issues with your universal pronouncement. There are escalators where it's too narrow to pass. There's no need nor expectation to stand to one side on these. The same goes for escalators that are so long that nobody's walking up them to accelerate their progress, or when nobody is around, or when it's so crowded nobody's able to pass anyway. And, at least in the places I'm familiar with, it doesn't apply in places where people aren't going to be in a big hurry. Stand right, pass left applies to subway stations but not malls.
Maybe this all seems obvious. Well, go to a tourist-heavy place with escalators and observe how much of this is learned behavior that takes repeated long-term exposure to understand.
Manners are really complicated. The escalator thing is a relatively simple example compared to something like, say, paying for a meal in a restaurant with a group, and it's already pretty deep when you dig into it.