Answer :

Rising magma can cool and crystallize, forming igneous rock which contains various minerals. Heated seawater also percolates through the hot rock of the MOR, and can precipitate minerals on rock surfaces and at black smokers.