The evolution of cancer is driven by genetic mutations. These mutations can be induced by various factors, including environmental exposures such as smoking, radiation, and infectious agents. The genetic diversity within a tumor allows it to adapt to and survive different challenges, such as the body's immune response and therapeutic interventions.