I would imagine that a large eating machine like T-Rex was opportunistic. If it was already dead - cool, almost dead T-Rex would help it along and on top of that T-Rex was an ambush hunter.
In those days meat was meat. Nothing could be too proud.
Eagles and lions also go for carrion. It's a fast food mentality.