As the temperature increases, the water molecules gain kinetic energy. This causes them to move faster and have more collisions with each other. The increased collisions cause the water molecules to break apart, which leads to the formation of water vapor.