Headlight condensation

I had condensation in my passenger (left) headlight. I dried it out in the sun today by taking the indicator out. The light was completely dry. I put the indicator back in and then this evening when the temperature dropped the condensation came back.

What are the causes for this and what are the possible fixes?
Cheers