Greenwald moved to Brazil, and his partner was subjected to extraordinary detention while travelling. Greenwald was just smarter than Assange at avoiding traps.
I'm not saying Greenwald was an agent of the USG or always planning to collude, but I think he saw the opportunity and took it, especially after his partner was detained and he saw how serious it was.