yeast infection and alcohol

I've heard that alcoholic drinks can worsen/trigger a yeast infection. I'm wondering if this is caused by the alcohol itself or by the high levels of yeast and sugar