They got Josh Beckett, a very high-ceiling, MLB proven, 25 y/o pitcher from the Marlins, not a division rival, in the Hanley trade. And, Hanley has slipped from a top-10 prospect to a top-40 one.
Lugo is a good-but-not-great, 30 y/o who has already reached his peak, and TB is expecting a top-10 prospect in return.
Sure, they would trade Marte away, if the return was right. But, Lugo doesn't even begin to fit that description.