Cancer can lead to aphasia in several ways. Brain tumors, particularly those in regions like the Broca’s area or Wernicke's area, can directly cause aphasia by disrupting the brain's language centers. Additionally, treatments such as radiation therapy and chemotherapy may also impact cognitive functions and potentially lead to aphasia.