Because black is not in check and has no legal moves.
That is stalemate- a draw .
It could have also been from 3-fold repetition