risks for developing a stye Touching or rubbing your eye is the most common way for bacteria to be transferred. Some factors that increase the risk of bacteria entering your eye include: having itchy eyes from hay fever or allergies. inflammation of your eyelid (blepharitis)