Soil contains many air spaces. When it absorbs water, the water is soaking into these spaces.
Rock has fewer spaces, so it absorbs less water. The so-called "water table" is actually just the level in porous rock where the spaces are full of water -- but it's still mainly rock.
Rock is very much denser than water. If water and rock (or sand) are mixed, the water "floats" up, and the rock settles down. As rock layers build up, the pressure increases and more water is squeezed out.
All this means that the mud and rock under the ocean can't be all that wet -- and of course at the very high pressures down there, there are no air spaces for water to drain into.
In parts of the world where the ocean-floor rock is being pushed down towards the lower, hotter layers of the crust, some water goes too. I believe this eventually comes out in hot springs and volcanic eruptions, and I think it's also thought to lubricate the slippage of rock faults. As the high-pressure, water passes through hot rock, it dissolves minerals, moving them through the rock and often concentrating them. This is where many valuable mineral ores have come from.