I recorded vote in the house has nothing but loss for the democrats. They can go on record voting to throw their president overboard or they can go on record voting to support a war that nobody wants.
For republicans, voting no is a way to show themselves to be the party of restraint.