Thank you for the query.
Such symptoms can be caused by gastrointestinal infection
indeed. However other reasons should be ruled out as well. Partial bowels obstruction due to intestines inflammation can be also a reason. Food allergies
disease should be also checked.
I suggest you to visit gastroenterologist and have proper diagnostics done. Barium swallow or abdominal CT with oral contrast should be done. Allergy tests
and IgA levels should be checked to rule out allergies and coeliac disease.
Hope this will help.