There’s really only one way numerous individuals of the same species can be preserved together: they must have lived and died together.
That is just incorrect, and also that is for albertasaurus not Trex. Even if we assumed they did pack hunt, closely related animals can have very different lifestyles from each other so we shouldn't attribute the lifestyle of one animal to that of another without evidence backing that up.