What are the risk factors for developing vaginitis?

What are the various risk factors that increase the likelihood of developing vaginitis, including lifestyle habits, medical conditions, hormonal changes, sexual activity, hygiene practices, and use of medications such as antibiotics or contraceptives?