A knight pawn on the seventh next to the corner looks like a rook pawn, but the king on h2 cannot create a stalemate because the queen can always check from a safe square while covering g1.
Players often misremember the drawing rule as "pawns next to the edge draw". The accurate rule is rook pawn or bishop pawn. Here Black has a g-pawn on g2 with the king on h2, and White wins even though the king is far away on h8.