So I'm doing some water hammer analysis and was calculating bulk modulus of water as a function of temperature. I took the speed of sound and density of water as functions of temperature and calculated bulk modulus from there ($K=c^2\rho$). This yields the following graph:
I was wondering what causes this behaviour. Is it the same reason why water is most dense at 4ºC? ie Is is to do with intermolecular bonds being stronger/weaker at a certain point. If it is related, why isn't the maximum at 4ºC for bulk modulus as well?