The person credited first can become the person remembered longest.
LEADERSHIP
LEADERSHIP
Attribution is sticky. Whoever is named at the start becomes the reference point, later contributors get attached to that name, and after a while the record is difficult to correct without seeming petty. None of this requires anybody to behave badly; it is how attention and memory work with names.
When you describe a piece of work, name more than one person and be specific about what each did. If you were the one left out, saying so early and factually is much easier than trying to amend a story that has already settled.
Who got named first on work that many of you did?
Free, with nothing to buy inside it.