From what you have described, it seems your daughter has a tendency to vomit, which might be due to gastro-esophageal reflux (GERD), with refluxed gastric contents likely entering airways & causing cough/wheezing
Next Steps
Kindly get her evaluated towards GERD if she gets recurrent wheeze or nocturnal cough