Power and corruption of the souls of heroes

How do beloved characters like Daenerys Targaryen and Nate Shelley become antagonists?