Exactly, she wasn't complying to the officer and decided to "Keep it real" instead. What if he did just stand there for five minutes while she talked on the phone and then pulled a gun out of the glove compartment. The Police have to think of all possibilities when they approach someone incase they are a threat. She wasn't exactly acting calm or cooperative, for all they knew she would have become more of a threat.
It's not as if they even did something against the law, they subdued her legally and they probably would have gotten more shit if they tried to grab her or force her out by hand as she'd probably try and sue for assault.