Yes, antibiotics can cause this, but you can also catch it from someone else who has it -- so wash your hands and bathroom meticulously (especially your toilet & tub). Also eating too much sugar and stress can make it worse.
Couples can pass it back and forth to each other; but you can also get it from anyone you share a toilet/tub with (ie roommates, partners, and family members, even children).
Don't use other people's towels or face cloths; nor wear their clothes. Wash your undergarments & linen in warm or hot soapy water (if it won't harm them). I now have paper towels in my bathroom to dry my hands; and for guests, so they won't have to use my towels.
People with sensitive skin or those prone to skin and/or food allergies are more susceptible to it too. Some people with compromised immune systems may have trouble fighting yeast infections, like people with diabetes, for instance ...
You can get anti-fungal creams and/or a kit at the drug store for this; even the ones for babies are good for this (the Zinc one in the tin). With treatment and care, you can get rid of it -- but it may take a little while ...