I think your premise is incorrect he was assigned as the Defense attorney and one of his roles was to make sure the proceedings were done in accordance with the UCMJ. Obviously he was in a no win situation if he did a good job he would be branded a terrorist sympathizer if he didn't he would have been labeled incompetent. No one here know this mans military record but I think it is unconscionable to say that he was not defending his country.
This is a myth. The UCMJ applies only to members of the US Armed forces. It does not apply to anyone else, including combatant prisoners, whether lawful or unlawful.
Also US Civil law does not apply to combatants. That is the problem with all of this. They are trying to apply the wrong laws.