Just because it's a blue state, doesn't mean that it doesn't have red districts. Washington and Oregon are pretty damn blue, but it's because the western parts are ultra-blue. Eastern ones are very conservative in comparison, though. So their representatives very much care about re-election - which is why they're voting for, and very visibly supporting, the Republican agenda, because that's what their electorate demands of them.
The ones that are on shaky ground are those in areas that previously voted Republican primarily for economic rather than social reasons (i.e. for the sake of low taxes, not because they wanted to ban abortion etc), and are now flipping to blue because Republican social policies became intolerable. This is many suburban districts. And Republicans there are listening; for example, in my district (WA-8), Dave Reichert voted against AHCA.
The catch is, Republicans in those districts know that even if they pander to the new electorate somewhat, there are still enough reasons why their Democrat opponent will likely get their vote. They'd basically need to be liberal on everything except taxes (and given the nature of the tax proposal that Republicans unveiled, not even on that, since it hurts the suburban mid/high-middle class dwellers most!), at which point they might as well just switch parties. So you see a bunch of guys saying they won't run for re-election at all, and then they treat their remaining term as a means to squeeze the few last things in while they can.