Sorry to hear about your lil girl..poor thing I hope she recovers quickly!
This is what I found..
What Causes Urinary Tract Infections?
The most common cause of UTIs are bacteria from the bowel that live on the skin near the rectum or in the vagina, which can spread and enter the urinary tract through the urethra. Once these bacteria enter the urethra, they travel upward, causing infection in the bladder and sometimes other parts of the urinary tract.
Another cause of bladder infections or UTI is waiting too long to urinate. The bladder is a muscle that stretches to hold urine and contracts when the urine is released. Waiting too long past the time you first feel the need to urinate can cause the bladder to stretch beyond its capacity. Over time, this can weaken the bladder muscle. When the bladder is weakened, it may not empty completely and some urine is left in the bladder. This may increase the risk of urinary tract infections or bladder infections.
To prevent UTI..drink plenty of water, Vit C, Cotton underwear, Wipe from front to back, Showers instead of baths and not to hold in the urine when you need to go.
I googled this info..hope this helps..