Question: why are electromagnetic waves refracted?
Answer: The electromagnetic waves constituting light are refracted when crossing the boundary from one transparent medium to another because of their change in speed. A straight stick appears bent when partly immersed in water and viewed at an angle to the surface other than 90°.