Discoloration of the window glass or frame can be caused by direct sunlight or weather. Consider protecting your windows with a UV protection film or special paint that reflects the sun's rays and protects the material. For long-term solutions, advice from a window systems specialist can help.