What I find funny, or ironic is the argument that since Israel is an ally, the spying was OK.
Wrong, it was worse.
Like finding your wife in flagrante delectico; hurts more than finding out that the wife of your scumbag neighbor was humping the gardening crew!
When friends f**k you over, it hurts more than an avowed enemy or antagonist.
The bottom line is, they may be your friends, but you are now at their mercy not to have that information fall into other hands, and as it did turn out, the Chinese did get that information.