Funny story, 32 years later I'm still allergic to lots of stuff (food, plastics, heat), a couple of years ago I was so sick of it I forced my GP to have me tested. (It was forced because he was of the opinion that we knew I had allergies, so testing for a known outcome wouldn't tell us anything.)
He called me back asking why I was still alive... According to the results they found traces of a raging nut and peanut allergy (and other stuff some of which they didn't bother specifying further). So why am I still alive? I can't stand the smell nor taste of them, and they 'only' give me rashes and during accidental ingestion swollen lips/tongue...
From what I know it is common to not stand the smell and taste of what you are allergic to. When a child really refuse to eat something it can be an idea to get it tested for allergy, since it unconscious can be because of how their body react to it.
https://www.nih.gov/news-events/news-releases/scientists-ide...