Both lead and zinc are formed as precipitates. Which of these is a step in the formation of the minerals?

elements combine at high pressure
magma cools after a volcanic eruption
atoms combine in water to form solids
materials break up due to rise in temperature