In this game on move 11 i played Bxf7+ with the idea that after Kxf7, Ng5+ allows me to capture the bishop on g4. My opponent did not go for it but when i analyzed the game i noticed that the engine thought that Ne4 was better and only after that Ng5+.
However if you analyze the line the engine recommends it will then say that Ng5+ is actually the right move. Why is that ? Shouldn't stockfish be able to always tell the best move in such straightforward positions?
If Stockfish recommended a different move, then it was better at the depth it looked at, though it may not have been much better.



In this game on move 11 i played Bxf7+ with the idea that after Kxf7, Ng5+ allows me to capture the bishop on g4. My opponent did not go for it but when i analyzed the game i noticed that the engine thought that Ne4 was better and only after that Ng5+.
However if you analyze the line the engine recommends it will then say that Ng5+ is actually the right move. Why is that ? Shouldn't stockfish be able to always tell the best move in such straightforward positions?