In combat zones,the laws of the United States don’t apply in wars.Just the UCMJ.
I don't want to quibble, but UCMJ is the rules/law of United States Military. This is what these SEALs are being prosecuted under.
Don't like it, change the rules/law. Don't break them, change them.