Men can pass bacteria that creates bacterial vaginosis in women and often if a woman has a case of BV that is not cured with the first round of medication, her partner is also treated at the same time for round two. That's a pretty common thing and the doctor of the woman often gives the script for the male partner to take with the female patient he treats. No sense treating one if the other is just going to pass it right back to her.
There are different types of BV. I had too much good bacteria because I was over treating for the standard bad bacteria kind. I stoppped taking probiotics and did a baking soda douche twice a week apart as prescribed and it’s fixed though it did take a few weeks to feel completely “normal” down there. My dr took swabs, looked under the microscope and ran other tests because I was persistent and I didn’t have odor which is a primary symptom of the bad bacteria. Hope you figure it out and feel better!
If you have a regular sex partner, he should also be taking the antibiotics at the same time and in the same dose as you. Otherwise (my doctor says) there is the risk of it just getting passed right back to you.