The White House didn't want this to happen, but similar to how Ron Johnson won over Russ Feingold in Wisconsin.
The anti-incumbent sentiment is running rampant, but perhaps not rampant enough to allow Carly Fiorina to head to Washington to represent California. Barbara Boxer is the incumbent and is a Democrat, so it appears as if California is staying BLUE.
However, Pennsylvania is unique. The incumbent changed parties, and then lost the nomination during the primaries after being painted as a flip-flopper.
However, the GOP picked up the Pennsylvania Senate seat.