I had similar problems. My doctor decided that they were symptoms related to irritable bowel syndrome. The thing that has helped me the most is to completely cut out all dairy, and some rich foods such as brocoli, onions, etc. I am not saying yours is the same thing, but if it is that may help. It did for me.
The various possibilities for your symptoms are gall stones,GERD(gastroesophageal reflux disease) and irritable bowel syndrome. Irritable bowel syndrome (IBS) is a functional bowel disorder characterized by mild to severe abdominal pain, discomfort, bloating and alteration of bowel habits. In some cases, the symptoms are relieved by bowel movements.Diarrhea or constipation may predominate, or they may alternate (classified as IBS-D, IBS-C or IBS-A, respectively). IBS may begin after an infection (post-infectious, IBS-PI) or a stressful life event.
I advise you to get an ultrasound and endoscopy done by a gastroenterologist to rule out the above possibilities one by one and finding out a confirmatory diagnosis.
I hope that helps. Take care & Kind Regards.
thank you for your kind assistance
My husband has experienced something similiar. Ultrasounds were clear and since he is too scared to get a colonoscopy he tried going gluten free and has found his bloating, pain and bm's much improved.