It’s already both happened to me that I didn’t notice I couldn’t move a piece without exposing the king or that I won by accident. Had the game not announced this, I wouldn’t have known.

And perhaps the opponent might not notice my mistake either. Or it could just be a strategic high-risk scenario, rather than a mistake.