Hi and welcome to HCM.
It seems like she has urinary infection and it should be evaluated. This is common in young girl and usually is well treated by antibiotics but as I said the diagnosis should be confirmed by urine analysis and abdominal ultrasounds. Uroinfection is commonly causing abdominal pain
but it is also possible that there might be digestive disorder but I sugegst to go step by step and rule out urogenital problems first.
Wish you good health.