Causes of Pancreatitis. Pancreatitis occurs when the digestive enzymes activate while they are still in the pancreas. This can greatly irritate the cells of the pancreas, which causes inflammation. There are many different things which can cause pancreatitis. Gallstones are a common cause of pancreatitis. Abdominal surgery can have complications. These complications can in turn cause pancreatitis.