At the time the Rosenbergs STARTED their espionage, during WW2, the USSR was the official ally of the United States. As a matter of fact, the USSR had a better claim to the status of ally than Israel, in that they were actively fighting against an enemy (Germany) that the US was at war with.
It didn't matter. The Rosenbergs were convicted of espionage (not treason) and executed (as Pollard should have been).
Quite right, I stand corrected, espionage it was.
I'm a big proponent of the death penalty. Whatever penalty is decided by law, it should be applied evenly to all the convicts. Pollard was treated and sentenced quite differently than some other cases. They should be treated equally.