Yoy might clarify what you are asking about. Is that from the daily puzzle?
Sometimes instead of taking the queen, checkmate is even better! So this is the reason why often there are even better moves then winning a queen!
Don't know about which position you are talking about though