Why is this the best move?

Sort:
KingMe-KnightKnight

https://www.chess.com/analysis/game/live/81764571950?tab=review&move=24

According to  stockfish moving queen to e5 (second to last move) is the best move. I haven't taken the time to come up with an alternative move, but considering this move loses white their queen with gaining them it seems like almost anything would be a better move than this. 

Is this a weakness is the game review engine or am I missing something?

Chess_Player_lol

the engine simply sees farther ahead and realizes that the queen sac delays checkmate the most. from a human perspective it would be much better to play something like Ne2, 0-0 and try to get some kind of counterplay