What causes matter to change states?

Temperature and pressure

and also heat energy!