The metallic ores are mostly produced by the igneous and the metamorphic processes.
The igneous rocks are formed when the magma is cooled down deep inside the Earth. The igneous rocks have crystals present which are big even to be seen with naked eye.
The metamorphic rocks are formed when the igneous and the sedimentary rocks undergo metamorphosis.
Hence, the answer is 'igneous and metamorphic'.