What does it mean to be a good state for business? CNBC put out its annual ranking last week, and the top five are Ohio, North Carolina, Virginia, Texas, and Minnesota. Most of the factors in a state’s ranking are things like its infrastructure, workforce, and regulatory environment, but within the “quality of life” category there’s another contributor: abortion rights.

Of the top five states, four have some degree of protected abortion rights. Minnesota has strong access to reproductive healthcare. North Carolina has access to abortion through 12 weeks but the procedure is heavily restricted afterwards. Virginians will vote whether to enshrine abortion in their state constitution later this year. Ohioans voted in favor of a similar amendment in 2023, but state Republicans keep passing bills that enact further restrictions, like a 24-hour waiting period.

And then there’s Texas. The state has a near-total ban on abortion, and yet it ranks the fourth-best U.S. state for business. CNBC says reproductive rights are included in the “quality of life” category of its methodology because younger workers say they prefer not to live in states that ban abortion; it’s a workforce issue. But quality of life represents only 11.6% of a state’s ranking on this scoring system, and reproductive rights are only one tiny part of that. Overall, Texas ranks 49th on quality of life driven by poor health care overall. And yet its “business-friendliness” (another category) clearly outweighed its failings on this ranking and with several companies, with businesses from Yum Brands to the New York Stock Exchange and Nasdaq either relocating or launching additional presences there.