Pancreatic cancer can be caused due to various factors like excessive smoking, diabetes, obesity, or genetically caused mutations. Any of these factors can affect a specific DNA sequence that leads to pancreatic cancer.