It’s not unrestricted. For example, drinking age is not federally set for the states.
But states that don’t set their drinking age to 21 lose 8% of their highway funding.
By now, every state is in compliance, but some held out for years, and they could decide to change it in the future and forfeit the money.