What causes eyes to not focus properly when someone is farsighted?

Eye too short. The focusing lands behind the retina, because the eyeball is too short from front to back. In near-sighted people, the eyeball is too big, so the light is focused in front of the retina.