You may have a food intolerance, two of the most common are gluten and dairy. Do some research about the right way to do an elimination diet (I am not knowledgeable enough about it to tell you how) and see if it helps any. I’d also check with a doctor to make sure it’s not an issue like IBS, ulcerative colitis, or Crohns