alergic?

Dude

So when my 6 month old tried mangoes the first time her was fine thee first 24 hours. then he had his second serving and like two teaspoons in he projectile vomited everywhere and had diahrea. his diahrrea lasted 10 days. everything stopped. his pooped returned to normal. we waited acouple of days and re introduced mangos today at noonish.....and at 630 ish he project tile vomitted again.? could he be allergic?