Why would game analysis recommend this move?

Sort:
thomasjcf21

I'm new to the forum (and this app), I haven't really played much chess but I cannot work out why the game would recommend such a move? You're sacrificing your queen for a bishop?

(This game was against a bot and I was just wondering why it recommended such a move for the bot to play)

The system won't let me post an image as I am new here. Below is the move the bot made:

This is the move it recommended:

Anyone else ever seen weird recommendations / understand why it would say this?

thomasjcf21

Sorry I forgot to mention that this was seen during the post-match game analysis

catmaster0

Because the computer sees black is lost and that move is the slowest mate it can find. Look at queen to h5 for white and see how it plays out, insert that into the analysis segment of chess.com if you need to, which given how many moves out it is, you probably will. We're talking mate in 9-like planning out there. Black's queen is just a speed bump.