So in this puzzle, the White queen is the only piece which is preventing Black from immediately playing Qxf2#. By taking the knight, Black threatens to take the White queen. This attack on White's queen crumbles the position. The queen must stay protecting f2 or there is immediate checkmate. Even if the White queen attempts to save herself, there is now an unstoppable checkmate threat.
https://www.chess.com/puzzles/problem/32048
Can someone explain to me why White even puts themselves in the position of possibly being checkmated by not trading queens and moving the rook?
Then after black's rook grabs the free knight and threatens the queen - why would white take the rook and give up checkmate? Why wouldn't they move their rook to g3, pinning the queen to the king and putting up a fight that as far as I can see leaves them about a Knight down instead of being checkmated?
I'm fairly new - so I must be missing something. But it seems weird to have a puzzle that makes moves that look really bad. When I first took the Knight with my rook, I didn't dream the queen would just take back and give me checkmate. It just doesn't make any sense to me.