Eye stye usually develops when the small holes, or glands, around the eyelid is clogged by dead skin, dirt, or oil, causing bacteria to form inside.
How to Get Rid of an Eye Stye

Eye stye usually develops when the small holes, or glands, around the eyelid is clogged by dead skin, dirt, or oil, causing bacteria to form inside.