You got that right! My wife used to eat a banana every day. Then something in her flipped and she reacts as if she is allergic to bananas and the rest of the world - not exaggerating. She can eat a very small number of foods and has to avoid most people because of smells. It isn't allergies it is - you guessed it - her immune system.
If we could just flip it back to "normal"...
Little did I know, having postviral sequelae causes my immune system to start hating many things I used to eat. A food blood sensitive test showed that bananas, beef, coffee were what set my immune system off the most.
I was told it was gut permeability causing food particles to leak into the blood stream causing the immune response. So the fix has been to stop eating those, let the gut heal, and over time I've been able to eat those foods in moderation years later.
They focus on infections and cancers I think.
Why would they ask for allergies if we don't yet know that they can be transmitted like this?