Your daughter may be trying to cope with the metabolic changes happening in her digestive system according to the needs and demands.
There can be some problem with the digesting capacity in her like a congenital Hernia
or congenital enzyme deficiencies or inherited bowel disorders.
She requires a complete evaluation by a specialist.
I suggest you meet a paediatrician at the earliest.
Wishing her a speedy recovery and good health.