Here's why:
* Solids: Particles in solids are tightly packed and vibrate in fixed positions. The attraction between them is strong.
* Liquids: Particles in liquids are closer together than in gases, but they can move around and slide past each other. The attraction between them is weaker than in solids.
* Gases: Particles in gases are far apart and move very quickly. The attraction between them is very weak. This allows them to spread out to fill their container.
Let me know if you'd like more details about any of these states!