California likely has more stringent seismic regulations as well, while much of Texas is sitting on bedrock. Matt Risinger (TX builder with a YouTube channel) decries homes sheathed in nothing more than cardboard, so other building code items may also be more lax in Texas.
California also has really strong labor unions which may lock out some immigrant laborers.