Civil rights laws are in place to protect against those who act in violation of constitutional protections under color of law, such as police officers. From what you wrote it is not possible to know for sure if your friend has a case. I would say you do not have a civil rights case, because being a witness to your friend being pulled out of the car violated no constitutional right that you are entitled to.
If your friend wants to check about his legal rights, have your friend check with a lawyer in your locale to discuss more of the details.
Good luck to you.
NOTE: This answer is made available by the out-of-state lawyer for educational purposes only. By using or participating in this site you understand that there is no attorney client privilege between you and the attorney responding. This site should not be used as a substitute for competent legal advice from a licensed professional attorney with whom you have established an attorney client relationship. The law changes frequently and varies from jurisdiction to jurisdiction. The information and materials provided are general in nature, and may not apply to a specific factual or legal circumstance described in the question.
Was it that simple? Why were you stopped? Did the friend provoke the officer? Was he trash taking the cop? All of these things may explained what happened but based on what you have said it's impossible to know if there's a civil rights claim. There's a better chance there's an excessive force claim against the officer.