Your own king stands on e7, directly in the pawn's path, so the pawn cannot move at all. Only two moves keep the win here, and the cleanest is to step forward onto the promotion square.