Answer:
Because the molecule in the air is far apart from each other and it's less dense than water so the sound travels 343 meters per second in normal atmospheric condition and the molecules in the water are much close to each other compared to air molecule and its much dense than the air molecule so sound travels at 1480 meters per second.
Hope it helps and have a nice day