Tatics
Because getting a knight and bishop (6 points) for a pawn and queen (10 points) , a net loss of 4 points, is better than losing a pawn, bishop and rook (9 points) for a knight (3 points), a net loss of 6 points.
When you have a question like this, always check the comments on the problem. It is likely that others will have asked the same questions.
https://www.chess.com/tactics/27705/practice?autostart=1