Poor kid, how awful! im glad you figured out what the problem was.
Does he have a gluten allergy too? Thats pretty well-known these days but when I was growing up nobody knew there was such a thing. And gluten was in just about everything kids eat.