Gene fusions occur when two previously separate genes become joined due to structural changes in the genome. This can happen through various mechanisms like chromosomal translocations, deletions, or inversions. The resulting fusion gene can produce an abnormal protein that may contribute to the development of cancer.