Eating when joyful


I understand wanting to eat out to get out of negative emotion but why would one eat when experiencing a positive emotion?

I notice I do this sometimes. I’m joyful and feeling love and then think about how great it would be to eat something.