It sounds like a fairly normal early childhood reaction to the world. Their immune systems are not yet developed, so as they encounter new things these flare ups are pretty normal, although the duration seems extended. Glad your little boy is on the mend, whatever the trigger ❤️