those funds come with many "strings" attached.
This is because the funds from the federal government are contingent upon the state meeting certain requirements. The funds are given restrictions such as how they should spend for example on welfare and Medicaid. In some cases, the states might even be required to match federal funds with their allocations.