UTIs often occur when bacteria from the digestive system, such as Escherichia coli (E. coli), enter the urethra and travel up the urinary tract. Women are more at risk to UTIs due to their shorter urethra, which allows bacteria to reach out the bladder easily.