What could be the cause for a child that doesnt like eating and once eats complains of stomach upset and throws up?
It might be colic. Try to see a doctor
They are many causes of vomiting in children which may include malaria, dehydration, surgical cases and other causes.

Kindly take the child to see a paediatrician in the hospital to know the cause of vomiting.