Answer:
When gas particles gain energy, they move faster and exert greater pressure.
Step-by-step explanation:
Heating a gas increases the average kinetic energy of its particles.
As gas particles gain energy, they move more rapidly and collide with the walls of the container (or the cork in this case) with increased force.
The increased frequency and force of these collisions result in higher pressure inside the bottle.
Eventually, if the pressure becomes too great, the cork may pop out of the bottle due to the increased force exerted by the gas particles.