Swelling in your eye could be caused by something mild and temporary like a stye — or it could be a sign of certain concerning autoimmune conditions.