If you walk while on the escalator, you spend less time on it, and gain less of an advantage from using it.
* According to current knowledge.
Some people, the goal is to expend the least energy. For some, it's to accomplish more things faster. This is true in realms outside of escalators, and in fact in all of life.