Headlights are made of polycarbonate plastics and would oxidize when exposed to sunlight unless they are coated. Check out how.
How To Clean Headlights: Best DIY Guide (w/ Pictures)
We tried the car hack of cleaning car headlights with toothpaste to see if it worked
How to Restore Your Headlights : 5 Steps (with Pictures) - Instructables
Headlight restoration in five steps - Cartec World
How to clean headlights using these popular methods - The Manual
Cerakote Ceramic Headlight Restoration Kit - CerakoteCeramics
How to Clean Headlights: 14 Steps (with Pictures) - wikiHow
Two Easy Ways to Clean Cloudy Headlights - Car Talk
How To Restore Headlights - wet sanding and ceramic coating