Hi, it could be irritable bowel syndrome.
Avoid problem foods. If certain foods make your signs and symptoms worse, don't eat them. These may include alcohol, chocolate, caffeinated beverages such as coffee and sodas, medications that contain caffeine, dairy products, and
sugar-free sweeteners such as sorbitol or mannitol.
Eat at regular times. Don't skip meals, and try to eat about the same time each day to help regulate bowel function. If you have diarrhea, you may find that eating small, frequent meals makes you feel better...