Ocean ridges are formed by divergent boundaries at mid-ocean ridges through magma generation.
Ocean ridges are formed by divergent boundaries where plates move apart, creating new oceanic crust. This process occurs mainly at mid-ocean ridges, where magma is generated through partial melting of the mantle, leading to the formation of underwater mountain ranges.