There are chances that your eyelids become infected by the bacteria that result in the development of styes in the oil-producing glands. Stress can lower down the immunity levels causing difficulties for the eyelids to fight against infections like styes. Yet, there are no clinical pieces of evidence that stress primarily causes chalazia in the eyes.