It's taught that you represent the military while in uniform making public statements. You get told this all the time while in the military.
Also, I don't think this person was trying to disagree with anyone about what the military mans intent was.
I believe reply OP just wanted to highlight that it's against the UCMJ, which a lot of people didn't seem to know.