Explain the various ways in which states and local governments fund their operations.