Here's why:
* Mid-ocean ridges are underwater mountain ranges where new oceanic crust is created.
* Divergent plate boundaries occur at these ridges. As the plates pull apart, magma from the Earth's mantle rises to the surface, cools, and solidifies, forming new crust.
* This process creates underwater volcanoes, which eventually build up over time to form volcanic islands or seamounts.
Volcanoes that form along convergent plate boundaries, where plates move together, are typically subduction zones, where one plate slides beneath another. The descending plate melts, generating magma that rises to the surface, leading to volcanic activity.
So, while volcanoes are definitely associated with both divergent and convergent plate boundaries, they form in different ways and have different characteristics depending on the type of boundary.