Any OBGYN/midwifes/someone who just knows.

I have been experiening HORRIBLE sickness. I’m 9 weeks pregnant and my OBGYN told me to eat small, frequent meals. Which has seemed to help some. My question is, why does this work? Why do I get so nauseous I can hardly stand it if I go longer than 2 hours with out a bite to eat?