You are supposed to change level, in which there is no wall and go forward. Only obstacles are changed on level switch, so you stay in the same position.
It was meant as the game/developer not being in control of the player's progression, like many platformers that have simple linear progression.