Atmospheric refraction is a problem inherent in observing objects near the horizon, when the different colors of light are bent different amounts by the Earth's atmosphere. Stars become rainbow stripes, and images of planets under high magnification get smudged into spectrums. Here is a detailed technical explanation.