Why do some people get UTIs more often than others

Cotton underwear for UTIs

Woman suffering from recurring UTI

Drinking water helps prevent UTIs