See rear deck rattle.

2 ways to stop it -
1. fix to always be in contact witht he window or
2. fix it so that it does not contact the window at reasonable volume.
3. You could also remove the light but that may be illegal.

I did number 2. by shifting the light mounting on the rear deck cover back from the glass.