The speed is determined by the water's bulk modulus and massdensity.
From the en.wikipedia.org
This is similar to the expression for compression waves, save that Young's modulus replaces the bulk modulus.
From the en.wikipedia.org
The bulk modulus and density are analogies of the electromagnetic parameters, permittivity and permeability, in electromagnetic metamaterials.
From the en.wikipedia.org
A theory has been formulated, which satisfactorily describes all anomalous features, including the frequency independence of the bulk modulus and the non-affine shear elasticity of glasses.
From the nature.com
As such a frequency dependence is not observed, our conclusion is that in glasses with frequency-independent bulk modulus the BP-related vibrational anomalies are entirely produced by shear stresses.