While stress itself may not directly cause styes, it can weaken the immune system, making the eyes more susceptible to infections.