Blepharitis occurs when the edges of the upper and lower eyelids become inflamed. It can make it difficult to blink and cause eyelid inflammation. The condition could be caused by bacteria, blocked glands, or skin conditions like seborrheic dermatitis.