Bacteria mineralized the rocks; they deposited the iron. They made the geology we see.