From hydrothermal fluids:
Water at high temps and pressure scavenges metal ions from the
Magma and from the metals in the surrounding rocks as it comes into contact with them.
This causes alteration.
By separation of magma:
Minerals with high melting temps
(olivine/pyroxene) crystallise early from magma.
By separation of magma:
Sometimes accompanied by dense, non-silicate minerals, containing
Iron chromium and titanium, which sink to the bottom of the magma chamber and form layers of ore when magma solidifies.
From hydrothermal fluids:
The hot, aqueous, hydrothermal fluid approaches
Earths surface and cools, infiltrating cracks in colder surrounding rocks.