Generally, mirages are the result of refraction. Refraction occurs when a light wave crosses the boundary between two mediums at an angle. ... The change in density between the hot air near the road and the cooler air higher in the atmosphere causes light rays to bend as they move between the mediums