I did research in fellowship for my attendings just to have my name as a middle author on a paper in a journal along the likes of Frontiers in Oncology.
As an atttending in private practice, I am PI on a pharma sponsored trial and enrolled their first patient on the trial worldwide, and my name was automatically going to be included in the future publication, which will likely be in a high impact factor journal. I did almost zero active work to get this.