Put it this way. His goal should have been to get to his job. As he said it's just a ticket. Follow what they say. Raise the window down. Get the ticket and go to work.
If you treat cops like "lil bro" they gonna try to prove themselves. And if your Black that could mean harm including yiur life. They dictate how it goes. Once you try to be in control, they gonna try to gain control back.
I've been stopped more times than I can remember. In my work uniform. It got to the point where I just handed them my licence. And when I asked why I was being stopped, the same answer. Your vehicle matches the description of once involved in a crime. Despite that ANPR showed that I was fully paid up with tax and insurance.
Also my vehicle must've been in dozens of places simultaneously. And when my vehicle was stolen, the police accused me of stealing it, even though they had the thief.
So to answer the question, rolling the window down enough to hand the license and registration was right. Being verbally combative isn't a crime. Personally, I find it a waste of time, but when you have been stopped numerous times you tend to bite back sometimes.