Bacterial vaginosis happens when naturally-occurring so-called “bad” bacteria outnumber the “good” bacteria (lactobacilli) in the vagina. Doctors are unsure what causes this imbalance.