You put your self at risk when there is a major war for being anti-war since unbalanced people will label you as an enemy.
You know the "support our troops" mantra that kept the worthless wars in Iraq and Afghanistan going long after they had been lost.
the "support our troops" mantra was the Right's "bring them home now."
when social media, and media as a whole, fuels "america bad" rhetoric and with russian propaganda of "american imperialism" combined with no active conflicts where the US is threatened, its no surprise.
but I don't think its about people not supporting state-sanctioned violence, because many support US assistance to ukraine and other allies and understand the defensive nature of it.
likely it was just the incompetance of afghanistan and iraq occupation that messed people up. the gulf war was a massive success, at home and for kuwait (sans gulf war syndrome due to iraqi chemical weapons). when we are pushed into another conflict, OPTEMPO increases, we are united against a common enemy, confidence will increase.