Both are wrong.
1. He behaved as privileged, money etc.
2. The cop was expecting respect, etc. I work with cops, and I design training for them, but one thing that gets my blood pressure through the roof is cops who want respect. Nowhere is that "required."
He rolled up the window, they got in exchange and pulled him out too fast because the cop got his pride hurt. Now, here is where the problem is with cop reaction. This is Miami! This is tourist hot spot. Nowhere in the world police stops people like that. If this was a tourist, that does not understand how things work here, it could escalate to the point where things could get really serious. I get the part about safety etc. but there were other ways to try to calm down situation.
4. Once they realized who he was, that bunch of people is recording, it sent that same cop into panic mode, he is yelling at people that pulled over to get driving license etc. Typical beahvior of cop that thinks he has privilege bcs. uniform. In my opinion, there is no difference between Tyreek's privilege and that cop's. The source of it is the only differentiating factor.
Edit: Also, why did three motorcycles make a traffic stop? That is immediate escalation. Did he run away? No, because they would do it differently, they would immediately pull him out.