A 40-year-old man presents with a painful, swollen nodule on the left eyelid. He has a history of chronic blepharitis and recently started using contact lenses. His condition has been recurrent over the past year. Which of the following factors most likely contributed to the development of this condition?