Sure, the First Amendment permits you to yell at police officers, and even flip them off. But in most cases, they’re doing their job, and doing it within the law. And even when they’re not, you should consider your own circumstances before opening your yap. As reported by The Northwest Florida Daily News:
Niceville Police officers were investigating a case of underage smoking on Reeves Street when the man [age 21] and two of his friends “began hollering and asking questions about what I was doing,” the arresting officer wrote in his report.
That’s legit, as long as you don’t interfere. But you’ve now inserted yourself into the situation, which can have consequences.