My husband had a cold aproximately a month ago. Once he started feeling better, his cough persisted. He coughs and coughs until he is red in the face and most of the time he vomits up liquid and sometimes food he has just consumed. Then his coughing subsides. The doctor said his lungs are very clear. My husband's dad has GERD though. So it may be a weird version of that?? I have Gerd but it is diagnosed. My husband doesn't have heartburn ( which is what I suffer from) but he has occasional indigestion.
This can be because of acid reflux, and can be brought on by a cold. My daughter's only symptom of reflux is a chronic cough that we figured out was due to reflux when all of the asthma/allergy meds did nothing for it. Putting her back on the reflux meds she was on as a baby took care of it.
It's also possible that the reflux is stimulating a cough that then continues until he is able to vomit up some of what is irritating him. I am not a medical doctor, so you might want to have a doctor check it all out.
You can read more about the more subtle symptoms of reflux here:
Acid Reflux: Introduction
7 Symptoms of Acid Reflux
Understanding Acid Reflux: A Doctor Q&A
Best of Luck - Stephanie