Both broke the law, with quite serious consequences for their country and individual soldiers. This can't just be ignored. Even if their decision may be morally justified (to some people they weren't), breaking the rules has to come with consequences.
There are issues with the US justice system, but it is a far cry from anything in Belarus or Russia. And if there is to be any secrecy around national security - most believe there should be - then there must also be consequences for breaking this secrecy, regardless of the justification.