The immunity works great when you get hit with small occasional doses.
When you encounter a pathogen, it’s typically a small amount (maybe a few hundred or thousand virii or bacteria?) and it isn’t continuous. Your body goes crazy and deals with it, and then everything calms down.
Allergens come in the trillions and they come at you continuously for days or weeks. You can get milligrams of pollen on you by going on a walk. Milligrams of chickenpox virii? You’re gonna die.
Latest Answers