When it comes to healthcare, many states don't care if you're a tourist or a resident or a one-eyed, one-eared, horned purple-people eater. They (because their constituents -- you know, the folks who pay for this -- believe people shouldn't be dying in the streets because they can't afford basic care, regardless of who they are/where they came from) provide healthcare to anyone who needs it because it's the compassionate, humane thing to do.
That some states do not do so says a lot about the folks who run and live in those states -- partly that they have little empathy for their fellow human beings. Which seems weird, given that many of those states have "leaders" and vocal residents who claim to be Christian, yet they are unwilling to engage in the very things that Jesus Christ prescribes[0][1][2] that they do.
I'm glad I'm not a Christian. If I were, I don't think I could abide such evil, selfishness and hypocrisy.
[0] https://www.borgenmagazine.com/9-quotes-from-jesus-on-why-we...
[1] https://jesusleadershiptraining.com/charity-what-did-jesus-s...
[2] https://christ.org/blogs/questions-answers/what-did-jesus-te...