He betrayed the government. He did the country and the people a favor by letting them know of what's been going on. Maybe he just doesn't believe it's in the interest of the majority of Americans to have foreigners' rights broken simply because they're not Americans. Maybe he recognizes that breaking of rights as nationalism in the form of believing that one nation is the greatest. Maybe he believes that's not what most Americans think and feel.
You're clearly blind to this, but every single non-American can easily recognize that he was trying to do a favour to the American people.