Both Alabama and Oklahoma St. lost control of their own destiny when they lost. Bama lost to the #1 team in the country in overtime by a field goal. Oklahoma St. lost to an unranked team.
The bottom line is both teams had to leave it up to the system... and the system got it right. The two best teams in the country will play for the national title.