So legally speaking, the person in a civil suit typically has to be the one harmed, or have some major interest in the harming of someone their connected to (if that person can't bring a suit themselves). Texas' working of this is that the baby/fetus/whatever you choose to call it was killed and can't bring suit itself, and they're explicitly allowing the society to bring suit on behalf of that.