When light passes from one medium to another its velocity and wavelength change. Why doesn't frequency change in this phenomenon?
The electric and magnetic fields have to remain continuous at the refractive index boundary. If the frequency changed, the light at each side of the boundary would be continuously changing its relative phase and there would be no way to match the fields.