Respuesta :

AL2006

Well, it's actually optical "density", but I understand
what you're getting at.

That phenomenon is called "refraction".

It happens with any wave motion.  It's very prominent in the
progress of seismic waves, radio waves, sound waves etc.