CHALAZION
Inflammation of the eyelid margin can narrow the opening of the meibomian glands. Furthermore, the consistency of the oil produced by the glands becomes viscous and turbid, and flow through the gland becomes limited.
The oil itself is pro-inflammatory, and as oil accumulates, it causes surrounding tissue to become irritated, painful, and inflamed.
Early on, chalazia may present like preseptal cellulitis, an infection in the eyelid skin. After your immune system has had an opportunity to loculate the oil, a bump will start to form. If untreated, the oil-filled cyst can persist for months.