When people do that it's because both are yielding. They just don't know where to yield.
It's hilarious
I noticed this in China, a densely populated mostly right-sided country. Whenever a British engineering firm would install escalators they would set the direction opposite to the flow of human traffic. You would walk up to it on the path on the right side and be forced to cross the path of oncoming people to use the escalator on the left before having to cross over again once at the top.
Except! for escalators in the London subway. There you stay right. Presumably because of so many tourists from the US and the continent.
Nobody really does it though.
Whenever that happens, I fully retreat to my right side, standing sideways, and gesture them to go on like a restaurant waiter.