According to Kinetic Molecular Theory in order for a substance to change from a gas to a liquid energy must be removed causing the atoms to slow down and get closer together.
Adding internal energy increases molecular motion causing molecules to spread apart and bonds to weaken.