The molecules vibrate when the substance is heated, and the shape of the substance begins to form a different shape. For example: when you hear up metal it will melt becuase its molecules are changing and moving.
Pressure what causes the molecules and matter to change .