I've worn glasses my whole life and never experienced what you're describing, but I wanted to point out that lenses come in many different materials and coatings. I once got glasses with some coating to reduce blue light, and experienced constant blue lens flares whenever sunlight hit them. I just went back to the optometrist and described the problem, and they got me replacement lenses without the problematic coating.
I assume not everyone experiences it the way I did, otherwise those lenses would not be on the market. The optometrist was aware that the lenses would have a blue tint to them due to the coating, though, so it was easy to know what to change.
TL;DR: Talk to your optometrist, they might know what's wrong and fix it for free.