Indeed the memory of the fallen is used to raise our collective patriotic ire at anyone who does not support any military action. This has become known colloquially as “not supporting the troops.”
It does not matter if the cause they were fighting is just. If the people they killed were innocent. If the war they fought a sham. Honour must be paid.
Compare this to the all too common occurrence of women being killed by partners or strangers. Too often in both courts of justice and courts of opinion these women’s memories are not honoured but desecrated.