When you get sick from eating foods, it could have been caused by a few different things. One way you could have gotten sick from the food is if you have a food allergy or intolerance to one of the ingredients in the meal. Allergies and intolerances can occur from any food, but the more common ingredients that cause problems amongst the consumer are peanuts, lactose, or a type of grain.
Another possibility of why food could have made you sick is from food poisoning. Food poisoning occurs when the cook did not either cook food thoroughly, or the food handling safety standards were not upheld.