Can A UTI screw up your cycle?

Val
About a week after AF came I was diagnosed with a UTI. According to one app, that was around my fertile window. Now bc of the UTI, I didn't feel any CM. Now I'm in my fertile window according to glow and I feel kinda dry. Does not feel like I would be ovulating. But between last week and this week, I have felt ovulation twitches on both sides. If it did happen last week, I would have not known bc I had a UTI and couldn't tell if I had EWCM. Either way, I am not getting my hopes up this month, I just feel like AF is coming whereas last month I coulda SWORN I was preggo. So does anyone know if a UTI can screw up your cycle?