Therefore, when you heat air it expands to allow more space for the molecules. If you then cool the air, it contracts because cool air molecules need less space thanhot air molecules. ... The molecules in a cool gas move slower, on average, thando molecules in a hot gas