Windshield mouldings rotting out and blow in the wind
Curtesy of Wikipedia:
The refrain “The answer, my friend, is blowin’ in the wind” has been described as “impenetrably ambiguous: either the answer is so obvious it is right in your face, or the answer is as intangible as the wind”
To me, the obvious answer is: replace the moldings.
Depending on when it was originally sold and the mileage you might have some of the bumper-to-bumper warranty left. A trip to the dealer couldn’t hurt. You’re going to need to have it fixed by somebody anyway.