Some really solid moderates with impressive records lost primaries not because they are unliked, but because their opponents were 20 years younger and simply a fresher new voice.
I also think the electorate is tired of the divisive mean spirited rhetoric. And they are very weary of Trump.