In this game as black, I decided to be creative and take white's bishop with my g-pawn to open up a deadly attack on the g-file. However, the engine dislikes this move and instead suggests a standard Qxf6 because white can immediately play Nh4, followed by Qf3. How are those moves wining for white according to the engine?
gxf6 won’t make your king castle, and the won’t make queen active. I believe you wanted to play Rg8 after it to attack the king, but I believe white is able to defend it