The State of California having the same GDP as France doesn't mean it has the same financial resources as France. Or does it?

California's State budget in 2017-2018 was ~$125 Billion
France's budget in 2017 was $134 Billion (~109 Billion Euros)
Why does California need any matching Federal funds for HSR?
Maybe France is better at making its' expenditures match its' revenues..
Sources of data:
http://www.ebudget.ca.gov/2017-18/pdf/Enacted/BudgetSummary/SummaryCharts.pdf
https://www.statista.com/statistics/467398/public-budget-breakdown-france/