An outside passed pawn drags the defending king to the edge; while it is away, the attacking king eats the remaining pawns.
Material is level: two pawns each. But White's a-pawn is an outside passed pawn, far from the other pawns, and that decides the game.