It&#x27;s called chromatic aberration.  Cheaper lenses will show the effect more. Basically different frequencies of light end up with different optical densities which create different refractive indexes, separating them like a prism.