A rook pawn is the hardest passed pawn for a knight to stop, and here your knight is one move too slow to reach h8. The rule: when your knight is a move short, win that move with a check. The check must also bring the knight one jump from a square that covers h8. The white king on g2 gives you exactly that chance.