This site has a pretty good list of rules for how two get to the CFP.
As I thought, after the top 4 are selected, 5-10 are arranged to comply with the requirements of the various commitments held by the various Bowls... and/or, desired Bowl matchups.