Thank you for your query
It appears that your child has developed some viral infection or gastroenteritis
. It might not be very severe but it can still be. You should consult a pediatrician
or a pediatric surgeon. A course of drugs for fever and vomiting
should help her. There are other causes of such symptoms too, like a gastro-esophageal reflux (contents of stomach regurgitating back into her food pipe). Ask her if she has any burning while passing urine. A low grade urinary tract infection
can also lead to such symptoms.
Hope that helps
God bless you