Can a UTI cause bloating?

♡ gabrielle ♡

I went to the doctor because I noticed my stomach is always bloated after eating or drinking. I went to get a blood test, a urine test, and an ultrasound and I apparently have a UTI. Does anyone know if that caused the bloating or if it's completely unrelated?