It's a *Skewer* attack. This happens when the king is checked by the queen, rook or bishop and the piece behind it is hanging. (going to be captured without defenders). This doesn't work if your opponent can block or capture your checking piece or the king can defend the hanging piece.