It was like a mirror image of Trump's election in 2016.
While personally I preferred Obama (as a non-US citizen) it's really sad how much anger and rage is expressed over these political differences.
Personally I think gerrymandering is the proximate cause, as it creates more safe districts for party members, which allows them to be more extreme than would be acceptable in a more competitive district.