And in the Senate, the last few holdouts like Manchin now support abortion rights legislation. But there used to be a lot more. Likewise for pro-choice Republicans.
During the ACA vote, pro-life Democrats almost derailed the whole thing until Obama placated them with an executive order.
It is why there really wasn't much of a window to codify Roe in Congress. There were many attempts to do so over the years, but they failed.