how exactly is this stale and not a checkmate?

It white's move, they are not in check, and they have no legal moves. That's the definition of stalemate.
https://www.chess.com/terms/stalemate-chess
To be checkmate, the player has to be in check and have no legal moves to get out of check