Hot and less dense material below the Earth’s crust rises towards the mid-ocean ridge. A mid-ocean ridge is an underwater mountain range, formed by plate tectonics. As this material flows sideways, it creates a crack in the crust where magma will flow out. This magma cools down and becomes the new seafloor.