Smoking, diabetes, and inflammation of the pancreas are some of the causes of pancreatic cancer. Also, having a history of pancreatic cancer in the family can increase the chances of getting pancreatic cancer.