The two problems dont seem to be correlated. A stomach bug may be causing the pain and diarrhoea
. Just make sure that her fluid intake is good and you give her soft easily digestible food.
Make sure you keep a close watch if the child develops repeated vomiting
, gets drowsy or sleeps excessively, is confused than you need to get her checked to rule out injury
Wishing her a speedy recovery