what makes matter exist in three states (solid,liquid,gas)

There are five states of matter:

Bolz-Einstein condensate, solid, liquid, gas , and Plasma.

What make this? it depends on the balance between atomic cohesive forces and thermal disruptive forces.