Quick Answer. Aquamarine forms when magma under the Earth's crust interacts with mineral-rich rocks under mountain ranges. The magma cools as it enters fissures and crevasses of rocks called pegamites. The minerals in the pegamites heat up when they interact with the magma, forming the gemstone. Continue Reading.