A pet generally won't vomit just because they dislike their food. It is likely due to an underlying condition which may or may not be related to the allergies.