Easy, challenge coins are a common gift between military/police w/others to show respect and if you have one, you will often exchange w/them. As for the second person, he's wearing a MAGA hat, typically wearing political attire is frowned upon while in uniform/on duty. Although he's not federal, so Hatch Act doesn't apply, he likely falls under a similar rule. I like that he had two options, take off the hat or the badge and he removed the badge, so kudos to him.
Being fired provides a consequence w/out limiting ones free speech.
I've never agreed you can't threaten or use 'hate speech', I'm of the opinion it's fine but just be ready to handle the repercussions.