Am I wrong for asking my girlfriend about how she got infected?

My girlfriend had a falling out with a toxic friend group of hers and they tried to lie to me about her cheating. I obviously questioned my girlfriend and she denied everything and since there was proof of her innocence, I believed her (I believe one of her ex friends made a post about the same thing here?). Anyways, we were casually talking and I asked her about a UTI she got earlier. She said she got it because of using poorly cleaned washrooms in her college and I said "okay, if u say so". She then caught on that I was implying she got it through... Contact, but after that it escalated and she said far worse stuff. I told her I was just being honest about my thoughts and that the argument wouldn't have happened if she has just given a simple yes or no answer and just reassured me instead of fighting. Was I wrong for saying that?

Am I wrong for asking my girlfriend about how she got infected?
Post Opinion