So now he is using the secrets he learned to buy favor from the Chinese government?
The beneficiary of this information is the U.S. public, so they can actually have a real discussion about cyber warfare, rather than simply believing the government line of "China hacks us, and we only defend...". How can we have a real discussion about our role in the world if we're told only about foreign aggression and not our own?
They're a large, modern communist nation, competing with us politically and economically. There's a lot of political capital to be made playing them up as the successor to the Soviet Union in American minds. The next Red Menace.
If China was a predominantly Muslim country, plug 'terrorists' into the same socket, it would amount to the same difference, in terms of the rhetoric. If we found out Britain was spying on us (ECHELON aside), or Germany or Poland, whomever, it wouldn't have nearly the same sort of ominous sense of 'the other' that the spectre of China/Russia/the Middle East do.
I certainly didn't mean to imply anything tacit about China being communist having anything to do with their attempts to expand their influence or anything. It's what they should be doing.