The iron ore formation started over billion years ago when abundant iron was dissolved in the ocean water which then needed oxygen to make hematite and magnetite. The oxygen was provided when the first organism capable of photosynthesis began releasing oxygen into the waters.