Texas produces around 2.5x as much electricity as California does, so producing double the amount of renewable energy actually suggests they are behind in converting to renewables.
The US average is about 39% of electricity from renewables. Texas is at 33%. California is at 49%. (Best is Vermont at over 99%, South Dakota at 83%, and Washington at 82%).
In terms of CO2 Mt/TWh the US is 402, Texas is slightly worse at 428, California is 229, and the best are Vermont at 5, Washington at 100, New Hampshire at 131, Oregon at 143, and South Dakota at 145.
Note these figures are just electricity generated in state. For Texas that's almost all their electricity. For California around 20-30% of their electricity is imported from other states, including a lot of renewable electricity from Washington and Oregon.
Also different states use a different mix of energy sources. What might be done with electricity in one place might be done with natural gas in another place. If we want to compare states on renewable energy use it is probably more accurate to look at renewables as a percentage of total energy use.
The top three by that metric are Washington at nearly 50%, South Dakota at 43%, and Maine at 38%. California is at 16.5% and Texas is at 8.5%.
See:
https://en.wikipedia.org/wiki/List_of_U.S._states_by_electri...
https://en.wikipedia.org/wiki/List_of_U.S._states_by_electri...