Better to look at GDP per capita.I don't know where you got this chart from but its completely inaccurate. I went back and looked at historical GDP of both CA and TX (link below) . In 1998 CA was $1.15T and TX was $645B. Using Statista's 2023 numbers for CA $3.23T and TX $2.03T would represent 180.8% growth for CA and 214.7% growth for TX. Now of course TX has grown much faster population wise which would more than account for the greater % increase. But what skews the numbers for CA is the tech sector. Also CA's gov't accounts for 10.4% of its annual GDP while TX's only accounts for 9.6%.
Economy in the United States By State, for Gross Domestic Product (gdp) (Metrics): Data and Trends
USAFacts -- 2022 (most recent) Gross domestic product (GDP) in the United States By state: highest -- California (3,598,102,700,000), lowest -- Vermont (40,617,100,000).usafacts.org
California is way ahead of Texas on that metric.