A tug between atoms
Atoms are not perfectly neutral, lifeless balls. Each one carries electric charge inside — a positive nucleus, a cloud of negative electrons — and those charges let neighbouring atoms feel one another. The combined push-and-pull between two nearby atoms is what we call interatomic forces. They are the glue, and the spring, of all condensed matter.
The force has a beautiful double nature. From a little distance, two atoms gently attract — they want to come closer. But squeeze them too tight and they fiercely repel — they refuse to overlap. So every pair settles at a comfortable spacing, a sweet spot where the pull and the push exactly balance. Picture two magnets joined by a stiff spring: not too far, not too near, just right.
Heat: the great unsticker
If attraction were the only thing in town, everything would clump into solids and stay there forever. But there is a rival, and its name is heat. At any temperature above the deepest cold, atoms are never still — they jiggle, rattle, and zip around. This restless shaking is called thermal motion, and the hotter something is, the more violent the shaking.
So the whole story of states of matter is a contest between two opposites: interatomic forces trying to lock atoms in place, and thermal motion trying to shake them loose. Whichever wins decides what kind of matter you get. It is a tug-of-war played out everywhere, all the time, in every object around you.
Who wins, and what you get
When it is cold, thermal motion is weak and the forces win easily. Atoms settle into the sweet spot, lock onto their neighbours, and you get a solid — rigid, holding its shape, atoms only quivering in place. Warm it up and the jiggling grows; eventually atoms have enough energy to slip past their neighbours though not enough to escape, and the solid melts into a liquid that flows but stays packed. Heat it further still and the atoms finally break free of one another entirely, scattering into a gas that drifts apart to fill the room.
- Cold — forces win. Atoms lock in place → solid (holds shape).
- Warmer — a draw. Atoms slide past but stay touching → liquid (flows, keeps volume).
- Hot — thermal motion wins. Atoms fly apart → gas (fills any space).
Running the same story backwards explains condensation: cool a gas down, sap its thermal motion, and the ever-present attraction can finally reel the atoms back together into a liquid or solid. That is the dew on morning grass and the droplets on a cold glass — gas atoms losing their heat and surrendering to the pull of their neighbours.
Stronger glue, higher melting point
Not all interatomic glue is equally strong, and that single fact explains a lot. Iron's atoms grip each other very tightly, so it takes a furnace — over 1500°C — to shake them loose into a liquid. Ice's water molecules hold on far more gently, so a warm afternoon is enough to melt them. Helium's atoms barely attract at all, which is why helium stays a gas until you chill it to nearly the coldest temperature there is.
An honest note before moving on: the deeper truth about *why* atoms attract and repel comes from quantum mechanics — the rules that electrons obey. We won't need those details here. The picture of a balanced pull-and-push, fought by heat, is genuinely the right intuition and carries you a remarkably long way.