My son had similar episodes like that, but he also has Celiac so we always chalked it up to gluten. It turned out he actually had a stricture from his Crohn's. The food sort of builds up, has no where to go, and comes back up through vomiting. I really hope that's not the case for you, but...