https://publications.aap.org/pediatrics/search-results?page=...
There is extensive evidence that the incidence of severe peanut allergies is significantly increased by the practice of avoiding early exposure in the absence of particular risk indicators, which is why that practice is now advised against.(IIRC, some of the first targeted studies were motivated by observed differences in incidence between the US where early avoidance had become common and Israel where peanut-based puff snacks were a common thing to give to babies not long after starting solid food.)
He also had a grape allergy, and reaction was quite severe, but he seemed to outgrow that by his 40s.
At some points, some things are bad luck, at least until we truly understand the mechanisms and causations.
The hygiene hypothesis is widely accepted, including by allergists, and there's definitely data supporting it, but we don't understand the mechanism, so it's hard to say that it's about any one specific thing vs. many contributing causes that correlate with hygiene and other aspects of the environment around the kid.
The advice about early exposure clearly works though, and there's data to support that early exposure even after confirming the allergy can increase the chances of outgrowing the allergy.
You say they live in bubbles, but is that before or after discovering the allergy? After the allergy is discovered, some amount of bubble-ing is necessary due to how difficult it is to be certain than something is peanut-free.
As lymphocytes are formed, they randomly rearrange their T-cell receptor / immunoglobulin genes, creating a random antigen specificity for each cell. [1]
Then, they get selectively killed if they react to self-antigens. [2]
Those that survive, if they ever meet their specific antigen, will selectively multiply [3] and do random mutations again [4].
[1] https://en.wikipedia.org/wiki/V(D)J_recombination
[2] https://en.wikipedia.org/wiki/Clonal_deletion
[3] https://en.wikipedia.org/wiki/Clonal_selection
[4] https://en.wikipedia.org/wiki/Somatic_hypermutation
The current theory is that allergies appear if: (1) some random lymphocyte rearrangement created affinity for that allergen and (2) the allergen was not "known to be safe" by the selection mechanisms of the body and that lymphocyte was allowed to survive.Even though we keep an epipen around and we make sure they're not eating peanuts, we don't practice strict avoidance anymore, we don't have to worry about the "processed on shared equipment" warnings, and there's no problem if he touches/inhales/eats peanut, meaning we can eat peanuts around him.
Both will eventually go rancid at room temperature , though highly refined oil has a longer shelf life (both sealed and, even moreso, after the seal is broken.)
There's also the ones that react weakly to self antigens and are kept around to put a check on everything else.
https://en.wikipedia.org/wiki/Regulatory_T_cell
The thymus is just insane.