Chickenhawk Fallacy
A Chickenhawk is a person who takes a hawkish or aggressive stance on military issues but has never been to war or served in the military. It can also be applied to the one using the Chickenhawk Fallacy which is to deny standing to discuss military issues to anyone who is not themselves at war or a veteran.
There are many reasons why the Chickenhawk Fallacy is invalid logic, but basically it's just an ad hominem, attacking the arguer rather than the argument.
Latin: ad hominem buteo gallus