
In figure 1, you see the curve of the earth with the building, and with a liquid (in this case water) inside. As you can see, although the earth is curved, the water is not, it is level. I will explain why using figure 2. The arrows represent the force of gravity going towards earth's core.
Figure B shows a cross section of the earth with two oceans, one on the left (A), and one on the right (B). You can see, that with figure B, there is no flat building to resist gravity, every molecule is being pulled toward the center of the earth (not the surface of solid earth as I believe you suggested when you talked about mountains on the ocean floor). Because every molecule is being pulled with relatively equal force, it will try to get as close to the center as it can. The curve of the water occurs because it has settled, the surface of the water is the same distance from the center of the earth no matter where you look.
In figure A, you can see that the flat surface is creating resistance, especially on the sides. The water molecules are trying to get as close as possible to the center of the earth. The reason the water is not curved here is because gravity is pulling on each molecule with equal force, but because there is a flat base creating resistance, the water must form to have a flat surface as well, so that each molecule is as close as possible to the center of the earth.