Thanks for writing to health care magic.
Some times kids do not accept any food or a particular food for short duration of time. If the kid is other wise active and playful one need not worry about this.
could be because of force feeding a kid who does not want to eat.
If a kid does not want to have a particular food one should not try and force feed the kid. It is better that that particular substance is reintroduced after some time. They may accept it at a later date.
But if a kid vomits with out force feeding and has total loss of appetite then one should examine the kid for other causes like jaundice
etc and investigate further.
Hope this helps.