Cancer can lead to vision problems through various mechanisms. Tumors in or near the eye can directly impact vision. Additionally, cancers that metastasize to the brain or optic nerve can disrupt visual pathways. Treatments like chemotherapy and radiation can also cause ocular side effects.