When the average kinetic energy of the molecules goes up (a rise in temperature), the average speed of the molecules increases. And lower average kinetic energy of the molecules means they have lower speed. When heat (energy) goes into a substance one of two things can happen:
Explanation:
If the temperature is increased, the average speed and kinetic energy of the gas molecules increase. ... If the gas volume is decreased, the container wall area decreases and the molecule-wall collision frequency increases, both of which increase the pressure exerted by the gas (Figure 1). Avogadro's law.