Light is refracted when it crosses the interface from air to glass in which it moves more slowly.
Since the light speed changes at the interface, the wave length of the light must change too. The wave length decreases as the light enter the medium and the light wave changes direction.