Cancerous masses form when cells grow and divide uncontrollably. This uncontrolled growth can be caused by mutations in the DNA of cells. These mutations can be triggered by various factors such as genetic predisposition, environmental influences, exposure to carcinogens, or lifestyle choices. When cells proliferate without the normal regulatory mechanisms, they can form a mass known as a tumor.