 The law forbids school districts from requiring teachers to notify parents when a child changes gender identity or sexual orientation. In a post on X, Mr. Musk said, because of this law and the many others that preceded it, attacking both families and companies, SpaceX will now move from California to Texas.