Where are you getting that data from? From what I have seen, public schools rely a lot on parental donations to go beyond a low base level of education, and city schools on average don't have as much parental involvement compared to good suburban schools, and so have less to spend overall per student.