When the sea floor spreads apart, volcanoes and ridges are formed because