Hydrothermal minerals form when water, heated by magma, circulates through cracks in rock. The water transports dissolved minerals, which crystallize into minerals in the cracks and small cavities as the water cools.