The next time he has this problems, I would advice you to check his serum ketones. Sometimes ketones can lead to vomiting
and vice versa is also possible. Certain drugs he could be taking could be a possible source of the problem. Please let us know his medications and I could opine further.
Hope this helps
Dr. Om Lakhani