There is glass polish compound available on eBay / Amazon.
View attachment 1716000020
it will polish out fine scratches in glass.
I had some deep goudges in my rear tailgate glass. (Long story)
I used the polish and while you can still see the scratches they are about 25% of what they were.