When you put on the goggles, it starts making your brain believe that you are in another world. People also show emotions like fear, excitement, joy, or even anger that involve their brains.
Our brain gets tricked into responding to whatever is happening in the game. You may read the effects of VR games on the mind & body.