Then why will the molecules move apart when the gas is heated?
These are some observations, and you explain them in some way, but if you look carefully, you can realize another explanation is true, so you only take the surface appearance not the deep reason. And you will know the repelling...