People are on an escalator waiting to get to their destination while looking outside of the glass that makes up the wall.
People are riding on the escalator.
People are riding the escalator looking outside.
Being on an escalator, while waiting to get to a destination, is another way of saying "riding on the escalator."
people are on an escalator means  people are riding on the escalator.