The frequency of the wave has not changed.
In fact, the frequency of a wave is given by:

where v is the wave's speed and
is the wavelength.
Applying the formula:
- In air, the frequency of the wave is:

- underwater, the frequency of the wave is:

So, the frequency has not changed.
First is melts then it expands next it gets cooler Finally it gains ener. Hope this helps you out.