Birds and mirrors - I have a Oregon junco here that does that same stuff. Perches on the side of the car and pecks at the mirror. When he`s not pecking at himself, he`s leaving a Mt. Everest of poo on the side of the car.
I`ve talked to him and told him how nice Oregon is right now and how the wines of the Willamette Valley are spectacular this year but he doesn`t want to go to Oregon at all. He`s way too interested in the lady juncos here.
My theory is that this is the mating time for the juncos and this fellow has staked a claim to the ladies in the neighborhood of my car. He looks in the mirror and sees himself but thinks the mirror image is a rival for the affections of the local ladies, hence the continual pecking to ward off the perceived interloper of his ladies affections.
Since he didn`t respond to reason, I tossed an old relegated to wheels microfiber over the mirror and the problem was solved. No pecking if he can`t see himself. When I start the car, I lower the passenger window, grab the towel, toss it into the back and put it on when I get back home.
Once mating season is over, this little fellow leaves the mirrors alone so the towel adaption is a short lived scenario. Maybe your situations are similar.