It really all comes down to money.
The perfect illustrative example of this would be the Department of Education. States have the power to enact their own education policies and nowhere is education laid out as a federal duty. And yet, a Federal department exists.
They enter by setting policies and giving enough money to the States to follow the federal policies.