It’s a national team, therefore they’re representing their countries in an official capacity, regardless of their personal stances. It’s more akin to Nazi Germany sending a team to the Olympic games and the controversy that surrounded that. That’s the unfortunate nature of flags and sports, but it’s how it is.
Edit: It appears the Russian fencer was participating as a neutral participant and not as a member of a Russian sponsored team. That makes it objectively unsporting on the Ukranian fencer’s behalf, however subjectively I at least understand the problem. Just because the Russian fencer isn’t participating as part of their national team (because their team was not allowed to participate) doesn’t mean they aren’t otherwise that team’s fencer and are still, unofficially, representing their country.
In my experience, it’s mostly a vet/military thing. Rednecks fly the actual confederate battle flag. It could be cop, but they typically fly the thin blue line flag. Subdued/monochrome flags are pretty popular accesories in military and military adjacent communities. If you check out “Grunt Style” you’ll probably see dozens. And enlisted (grunts in particular) tend to skew less educated and are more entrenched in toxic ideals of masculinity, so it’s no surprise to see them acting like fools on the road.