why is the right response to g4 is Nxg4 not Bh2
lichess.org/training/64067Because g4 is played to drive Bishop away from protecting e6. Idea is to sacrifice Nxf7.
If Bh7, Nxf7 gives a white three pawns for the piece and a good attack.
Yet another example where the objectively „best“ defense seems to be very cooperative. Simply giving up a piece would hardly any human do.
Because Bh7 Nxf7 Kxf7 Qxe6+ Ke8 Qf7+ Kd7 Be6+ Kc7 Bf4+ Kb6, and Stockfish thinks black's bad king and white's passed pawns (white is going to win g7 and h6) are worth slightly more than the extra material in the other line. It's wrong, as white's advantage is going to increase much faster in the Nxg4 line.
lichess.org/analysis/rn1q3r/pp2bQpb/1kp1Bn1p/8/5BP1/2NP4/PPP2P1P/R4RK1%20w%20-%20-%207%2016