This occurs when your pancreas becomes inflamed either in a short space of time (acute pancreatitis) or over long period of time becoming permanently damaged (chronic pancreatitis). Alcohol abuse is a common cause of chronic pancreatitis.
Seek help from your doctor if you are experiencing gut symptoms.