Welcome to Ask The Doctor.
I have read your query in detail and I understand your concern.
He might be having Acute intestinal obstruction or acute infection of gastro intestinal tract.
If he is passing flatus, then it is unlikely to be intestinal obstruction.
You should take him to ER and let your doctors evaluate. If they find signs of Intestinal obstruction, then they would perform an emergency ultrasound and X-ray abdomen.
If there are no signs of obstruction, they will treat him with antibiotics and anti-emetics.
I hope it helps.
These Q&A’s are for educational purposes and should not be relied upon as a substitute for medical advice you may receive from your physician. If you have a medical emergency, please call 911. These answers do not constitute or initiate a patient/doctor relationship.