Engines recommended best move leads to getting mated?!

Sort:
Avatar of eazyevan73
Check out this #chess game: eazyevan73 vs niharvanjara - https://www.chess.com/live/game/90289770555

On move 12, I played g3 which was flagged as a miss. But it recommended hxg4?.. Is that really the best move?