This had nothing to do with “morality change of heart”.
It had everything to do with political strategy. The Demonrats merely put their finger to wind, calculated that Edwards would offend a lot of voters ( who **do** have morals) and chose an different speaker who might bring in more votes.
Sorry, but I forgot to add the /s