Bacterial infections can be caused by a variety of factors, including the overgrowth of normal vaginal flora, sexual activity, poor hygiene, and transmission from a sexual partner. Specific bacteria such as Gardnerella vaginalis, Escherichia coli, and Neisseria gonorrhoeae are often implicated.