I’d say both. People feel less threatened by him having Republicans in the House.
Also, he sucessfully capitalized on the grief like a good democrat.
In other words, he didn't let a good crisis go to waste.
I don't know how people like that can sleep at night.