I would like to know whether he was diagnosed as eosinophilic esophagitis
or clinically.And what medication is he on? His symptoms of gas and stomach ache need to be attended to .He would require some good antacid
and anti inflammatory medications.And after starting these medications if he continues such behavior then probably it's psychological issues .Also just find out whether his Docter has given some antihistamine be oz if he is on then that gives rise to drowsiness
so can be stopped after discussing with the Docter.