Thanks for writing to health care magic.
I think your child showing symptoms suggestive of bladder stones.
Further investigations could help in arriving at a diagnosis. A ultrasound
abdomen and a X ray
of the region will identify the stones.
Plenty of water intake will prevent the formation of such stone
Hope this helps.