Frequency is a function of the energy level of the photon.
Changing the medium does not change that energy level.
That is because the light's SPEED decreases. Also, because the frequency doesn't change. As a reminder, the wavelength is equal to the speed of the wave, divided by the frequency.
Light enter the water base on the principle of refraction of wave,during this process light moves from a denser medium to a less denser medium leading to the change in wavelength of the light That, however true, is not an answer to the question. (VanZanten)
When light enters a denser medium than it was previously travelling in, the wavelength gets shorter because the speed of the light slows down: v=w/f where v is the velocity of a wave, w is the wave length, and f is the frequency. When light enters the new medium, f does not change but v decreases so w also decreases. Actually, the density of the medium is not accurate. The medium is not denser it just is "optically denser" which means it has a higher index of refraction. It has nothing to do with actual density, which is weight divided by volume.
The displacement is a peculiar state, due to the fact that this is one of the special situations in which energy is completely destroyed and conservation of energy does not take place; hence the phase change
The change in speed causes the light to bend. If it is travelling from an optically dencer to an optically rarer medium the ray will bend away from the normal. But if it is travelling from an optically rarer to an optically denser medium then it will bend towards the normal.
They are refracted, and the new angle of travel appears as an increase to the initial angle of incidence.
wavelength
Nothing. The speed changes. We live in a universe where electromagnetic waves change frequency if they can't change speed (and in a vacuum they can't), and only change speed if they enter another medium like glass.
The change in speed causes the light to bend. If it is travelling from an optically dencer to an optically rarer medium the ray will bend away from the normal. But if it is travelling from an optically rarer to an optically denser medium then it will bend towards the normal.
Frequency means how often the waves pass per second. If, for example, 1000 wave cycles (wave crests) are emitted per second, you would expect the 1000 wave crests to pass any point - unless there are some special effects, such as the Doppler effect, when either the emitter or the recipient moves.
describes the effect of water waves passing into shallow water?
This is due to difference in mediums.When light enter from lighter mediam that is air to some denser transparent medium like glass it bends toward normal and vice versa.