Can someone explain why this match ended in a draw?
You had seven different checkmate-in-one moves, five different stale-mate in one moves, one move (Kh8) where white would have been able to force the stalemate, 41 moves that would still have allowed a checkmate-in-one on the following move and one move (Kf8) where black would have been able to force checkmate two or three moves later. Your choice happened to be one of the roughly 11% of possible moves that resulted in stalemate.

it says stalemate, which if you didn't know means that on the opponents turn, if they can't move, but isn't in check, then the game is declared a draw
White has no legal moves left( the pawn cant move, and the king has no squares). But the king is not in check, so its no CHECKmate, but a stalemate.