Genetic factors contribute to cancer development through mutations in specific genes that regulate cell growth and division. These mutations can be inherited or acquired, leading to uncontrolled cell proliferation. Key genes involved include oncogenes, tumor suppressor genes, and DNA repair genes, with mutations disrupting their normal functions.