Uhm. Yay?
When you take the King's shilling, you are the King's man. States that rely on routine federal funding grants are making a pretty big assumption that that check is always going to come. With said "funding" usually comes requirements that the state has to spend money as well. A couple folks refused the stimulus money for that reason. It came with provisions that if the feds give you money for project X, after Y years of fed funding, the state has to pay for X entirely for a further Z years.
Even funded mandates are not a free lunch.