It’s not just the faster speed in vacuum vs glass, but the route can be a lot more direct.
An undersea cable will go through (or around) all kinds of trenches or peaks because the sea bed isn’t flat. And it needs to have some stress relief imperfect routing to handle shifting.