Cailan knew who Alistair was, which is probably why he specifically ordered Alistair to what he thought would be a safe location far away from the battle. (there weren't supposed to be darkspawn or ogres there) If anything happened to him, then a member of his bloodline would survive to succeed him. And lucky for Ferelden that he did this, or else all the Wardens be dead and the country would be raped and destroyed long before the oh-so-evil Orlesians could send their own Wardens to take care of things.
And Loghain would throw his body to the wolves. When only MORRIGAN agrees with you? You are wrong, flat-out.