My grandmother died from lung cancer. She never smoked in her life.
That happens. You can also theoretically get AIDS by accidentally pricking your finger on a rusty nail (that just happens to have an HIV strain on it). But smoking is clearly how the overwhelming majority of lung cancer victims contract the disease, just as unprotected sex is the way the overwhelming majority of AIDS victims get infected with HIV.