This is how pressure works most of the time. The pressure is too much it produces heat. This is kind of similar with some explosives and even a vehicle's engine. When you mix gas and air in the valve while the piston is working, it's gonna create a pressure and reaction causing the engine to work, hehe.