Hi Welcome to HEALTHCARE MAGIC..
I have gone through your query and can understand your concern.
As per your query your son might be suffering from
irritable bowel syndrome, treatment focuses on the relief of symptoms. Following steps should be taken
1. Eliminating high-gas foods such items as carbonated beverages, vegetables — especially cabbage, broccoli and cauliflower.
2.Some people are sensitive to types of carbohydrates such as fructose, polyols, fructans & lactose, called FODMAPs .They are found in certain grains, vegetables, fruits and dairy products such as wheat, rye, barley, onion, garlic, apples, apricots, avocados, blackberries, cherries,Milk & dairy products. These food items should also be avoided as they are rich in lactose
3.Taking fiber supplements, such as psyllium or methylcellulose, with fluids may help control
constipation. Fiber obtained from food may cause much more bloating compared with a fiber supplement.
4.Anti-diarrheal medications such as loperamide, can help control diarrhea.
5.
Anticholinergic and antispasmodic medications. These medications, such as
hyoscyamine and dicyclomine, can help relieve painful
bowel spasms. They should not be used if constipation is there .
6. In some people improvement in diarrhea symptoms occurs, if they stop eating gluten (wheat, barley and rye)
Don't worry he would be fine
Hoping this information helps.