When monochromatic light travels from one medium to another its wavelength changes but frequency remains the same

When monochromatic light travels from one medium to another its wavelength changes but frequency remains the same. Explain.

Atoms (of the second medium) oscillate with the same (incident light) frequency and in turn, emit light of the same frequency.Alternatively, The frequency of light may be viewed as a property of the source and not of the medium.Alternatively, From Huygens principle, we find that

Hence, frequency remains the same.