MOST STUPID RULE : STALEMATE
I used to feel that way too. In a stalemate, the player has no legal move, BUT isn't being attacked by a piece. A checkmate can only occur if a player has no legal move AND their king is being attacked by a piece. Stalemate is a fair way to end, yes, any move would put them into check, so it would be unfair to force them into moving into check and the interface won't allow it, so a stalemate is declared.