why wavelength changes during refraction?
Light is refracted when it crosses the interface from air into glass in which it moves more slowly. Since the light speed changes at the interface, the wavelength of the light must change, too. The wavelength decreases as the light enters the medium and the light wave changes direction.