Loading
After castling, the pawns in front of the king are a shield. They can also become a cage: if nothing guards the back rank, one rook or queen check along it is mate.
The cure is simple and worth remembering for your own games: give the king some air with a pawn move like h3 (or ...h6), or keep a rook on the back rank.
Black to move. White’s king has no air. Find mate in one.