Long story short the Democratic part of the Texas state legislature just... left the state. Just up and left. You need X percent of people present for a vote to be valid, by not being present the Democratic members basically made it impossible to pass the law. If they all showed up and voted no, the law would pass. By not showing up and not voting at all, it doesn't.
Basically its like a filibuster but instead of "Just keep talking and never stop" it's "Can't be a vote if there's not enough people there to vote."
In response the Texas Governor has threatened to have them arrested.
CNN: What you need to know about the drama unfolding between Texas Republicans and Democrats
https://www.cnn.com/2021/07/13/politics/texas-democrats-voting-rights-what-matters/index.html