Welcome to Healthcare Magic.
It is possible that your kid might have a gut infection. Source could be contaminated water or food. I advice you to visit your Pediatrician
and get her examined as early as possible. She needs antibiotics and anti emetic to relieve her symptoms.
Meanwhile, please maintain adequate hydration, give her soft diet
. Please feel free to ask in case of further need.