Churches that don't welcome all aren't really functioning as churches. More like social clubs.
And Jesus answered them, “Those who are well have no need
of a physician, but those who are sick. I have not come to
call the righteous but sinners to repentance.”
Luke 5:31-32
They certainly are "social clubs", but that doesn't mean they "aren't functioning" as churches. They're functioning just as their membership wants them to function. Whatever Jesus may have said is really irrelevant; I'm sure they can pull out some other bible verse that supports their hard-line position, and a religion isn't defined by some character in a book that may or may not be historically accurate, it's defined by how the members of that religion currently behave. If a church isn't welcoming to someone because of their views on abortion, you may think that goes against the spirit of that religion, but you're not the authority on that religion, that church is the authority on it for themselves (though they may disagree about many things with other churches/denominations).