I wonder what would happen if you drilled down another level and compared money vs. results for red America versus blue America. Maybe all red counties versus all blue counties.
You would get the expected results, to a degree, as there will be some significant exceptions, but mainly because the drivers for test performance are overwhelmingly race/ethnicity.
I.e., US whites are overwhelmingly “red”, US blacks and hispanics are overwhelmingly “blue”.