Though the physical concepts and mathematics are highly rudimentary, I often try to comprehend exactly why light wants to keep it's frequency, yet alter it's wavelength as it travels through a medium, while at the same time, alter both it's wavelength and frequency while traveling through a vast series of gravitational fields.
My question is this:
If possible, try to address the situation without poking at the obvious holes in it.
Imagine that there exists a uniform $[2*2(ly^2)]$ body of fluid in the vacuum of space with an index of refraction $N$. Now imagine a massive wall of light enters this fluid (ignore any intensity fading/ dispersion), and doesn't exit to the other end for two years. Would the light wave exit the fluid with the same wavelength that it entered with? Why ?