The frequency of a wave only depends on it's source.
The frequency of a wave does not change when it travels from to medium to medium.
V = (Wavelength) * (Frequency)
As a wave enters a more dense medium the velocity increases while the frequency remains constant. Therefore when going from air to water (relatively more dense) the velocity increases and as a result, the wavelength increases.