speed of sound wave depends on elasticity of medium and density of medium
it is given by formula

now if wave travel through solid then its speed is maximum while if it travel from gas then its speed is minimum
so initially its speed is given as 4000 m/s and suddenly decrease to 1500 m/s
so here we can say that its medium will change from solid to liquid
so sound will encounter with water