Because they can cast their votes for whomever they want.

That was why the founders created the Electoral College. So they could overrule the popular majority. They correctly worried that a pure democracy could result in the election of a demagogue, or a charismatic autocrat, someone under foreign influence, or someone not endowed with the requisite qualifications.

The Founding Fathers were thinking about Trump!