Bv???!

So I have two baby fathers I was with my second baby father for 8 years we had unprotected sex pretty much all the time and never gotten bv but like two years ago I had unprotected sex with my first baby father I would say we had sex about 3-4 times and each time I got bv so I don’t get why i wouldn’t get bv with my second baby father but always get it with my first ? I’m not with any of them now or messing around but i do have some one in my life and we do plan on taking that step of having sex I haven’t been with anyone in a while and I’m kind of nervous that it might happen with him ?