We also try and imprison people for war crimes, although this process is slow and uneven, for a variety of reasons. It is a question of law, because there's no universal standard of morality. The Nidal Hassan trial is a classic example of that: by the fundamentalist religious standards that he adhered to, his actions were perfectly justified, but people who are not adherents of his religious or less extreme adherents of it think the exact opposite.