During condensation, the gas molecules lose energy and slow down, causing them to come closer together. As a result, the intermolecular forces of attraction become stronger, and the gas transforms into a liquid state.