WHY is it barbaric to bring back the death penalty for murderers, yet it’s not barbaric to kill thousands in wars?

NAME AND ADDRESS SUPPLIED.