Myopia or near-sightedness happens when the eye is elongated, causing light from far away to be improperly focused on the retina.