A better question to be asking, IMO, is how did a candidate like George W Bush end up with half the votes in the last election?
In other words, how much has voting for the lesser of two evils contributed to the current mess we find ourselves in.
So long as we just keep voting like that, we'll keep getting the government we deserve.