No state pays a cent to another state or to the federal government. It is residents of each state that pay federal taxes, which the federal government in turn uses to provide funding and services to states and individuals.
The Rockefeller Institute data (https://rockinst.org/issue-areas/fiscal-analysis/balance-of-...) shows that it's not so much "blue states" as frequently claimed, but taxpayers of four very wealthy Northeast states (the Tri-State area plus Massachusetts) that account for the vast bulk of citizens paying more than they receive from the federal government. After them come CO, NE, UT, and MN, of which half voted for Hillary/Biden and half for Trump. All other states, including CA, are net beneficiaries of the taxpayers in the top eight (and, again, really, it's the top four).
The 10 states at the bottom of the Rockefeller report's per capita list—that is, the states that benefit from the most federal spending per person compared to how much each person pays in federal taxes—are
Hillary/Biden-voting states: VA, NM, MD, HI, 1/2 of ME
Trump-voting states: KY, AK, AL, WV, MS, 1/2 of ME