liquids do not fill up the container because there are weak attractions between the molecules that prevent the molecules from escaping. the particles do not have enough kinetic energy to break these inter molecular forces. whereas a gas fills up the container because there is virtually no attraction between the particles, so they can move in any direction they want. gases show the property of diffusion.