Mid-ocean ridges are places where tectonic plates are moving apart (diverging), allowing magma to rise and create new oceanic crust.

Since your question is simple and fact-style, that’s the key idea you need: at mid-ocean ridges, plates are spreading apart rather than colliding or sliding past each other.