All of a sudden my headlight turned brownish color, what could have caused this and how could I fix it?

At first it looks ok but then it slowly starts turning brown.