Earth Sciences homework help

The songwriting credits on Chuck Berry’s hit ‘’Maybelline’’ were given to Berry, Alan Freed, and Russ Fratto, which meant that Freed and Fratto were getting 2/3 of the royalties. Why did the record company do this?