Difficult to say without evaluation.
Evaluating the abdomen should be considered. Constipation and diarrhea, as well as bloating can be due to IBS. Ruling out more serious conditions - with an abdominal CT scan and/or colonoscopy - can be done to exclude inflammatory bowel disease, colitis, or a mass.
If the GI workup is non-revealing, a referral to a neurologist can be considered to exclude a neuropathic cause of the pain.
Followup with your personal physician is essential.
This answer is not intended as and does not substitute for medical advice - the information presented is for patient education only. Please see your personal physician for further evaluation of your individual case.
Kevin, M.D.
www.kevinmd.com