2010 is extremely obvious- weakest point of employment combined with Obamacare/cap and trade anger. The 2014 GOP wave is the harder one to explain, particularly as it is very rare for a party to get wiped out during both midterms of the same presidency.
Yeah, 2014 made even less sense especially given that the economy was quite good by that point.
Well, in 2014, the Democrats had some very weak candidates, while the GOP did exactly what the 2012 autopsy said to do, and ran strong campaigns in states like Maryland, Colorado, Massachusetts, and Texas. Meanwhile, in the same states, the Democratic candidates ran one issue campaigns on abortion and other unappealing hot topic social issues.