Crystals form in cooling magma when the right combination of temperature, mineral concentration and pressure exist. Larger crystals form when magma cools slowly, smaller crystals form when the magma cools more rapidly and little or no crystals form when the magma cools rapidly.