A 26-year-old woman presents to the GP with vaginal discharge and vulval irritation. She has recently completed a course of broad-spectrum antibiotics for a chest infection. On examination, the vulva is erythematous with satellite lesions and there is a thick white discharge. Vaginal pH is 4.0. What is the most likely mechanism by which antibiotics predisposed her to this infection?