many of them underwater
this is how volcanoes are created (many of them underwater)
When the molten lava cools,the surrounding rock and crust contributes to a buildup of crust on the ocean floor
contributes to the shape of the ocean floor
Another factor is the general movement of continental plates