One of the obvious desires and needs of the newly minted Assistant Professor is to rapidly establish his or her independent laboratory focus. To show the world, in both formal and informal ways, that all that brilliant work has indeed been driven forward by this new Principal Investigator.
As part of this it is necessary to take full credit for the work that has been done primarily by this young person's laboratory. It can be acceptable in some situations to take a bit of extra credit by inference when the work has been of a collaborative nature, particularly when only that Assistant Professor is under review.
It is dangerous, however, to fail to modulate these claims of credit for collaborative work when all of the participants in the collaboration are under simultaneous review. On the tactical level, you do not want your reviewers thinking that two, three or more labs are taking credit for the exact same thing. On a strategic level, you ARE going to piss off your collaborators. And this is the sort of thing that induces collaborators to stop collaborating with you and just to do it themselves.
When you are the more-junior partner in this scenario, the odds predict that the more-senior person is going to have more relative ability (funds and personnel) to cut you off and continue by other means.
As a related issue, one of the skillsets you need to develop as a scientist is a decent Spidey-sense for collaborators. Some are going to be selfish and some are going to bend over backward to let you take credit, to help your career along and to promote you. These latter are ESSENTIAL to your success. The former must often be tolerated and you do well to protect yourself from them. However, if you cannot discern the two different types relatively rapidly and act accordingly, you run the risk of really pissing off people* who would otherwise be your champion.
Don't do this.
*Remember that unless the person has "Emeritus" after their title, bending over backward to allow you to take credit is not necessarily immaterial to them. This is a reality. No matter how seemingly established a more-senior colleague is, they are worried about the future. There is always the next grant review. Doing a colleague a solid costs them something. The fact that they think this is the right thing to do, regardless, doesn't mean that they do not do so with a conscious nod to the costs involved.