It is my understanding that "spending per pupil" is largely reflective of teacher salaries/benefits and varies based on cost-of-living in different areas.

After teacher salaries/benefits, the next largest budgetary categories for many/most schools are administration and building/grounds maintenance (not necessarily in that order).

"Spending per pupil" is not necessarily correlated to educational resources, materials, opportunities, experiences which are made available to students.