The kinetic energy causes the air molecules to move faster and they impact the container walls more frequently and with more force. The kinetic energy of the gas molecules increases, so collisions with the walls of the container are now more forceful than they were before. As a result, the pressure of the gas doubles.