Bacteria from stool. Majority of the bacteria that cause urinary tract infections (UTI) are bacteria that live in our intestines. Girls without any anatomical problems most often get UTI because they are not wiping in the correct direction (ie. Front to back) after urination. In teenage girls another cause can be sexual activity.