Simple. They look to the Constitution for an enumerated power that gives them the authority, and failing to find it they say "Sorry, we can't do anything about it. The States never gave us the power to do that, so it's on them.".
Is there something about the concept of a national government of limited and enumerated power you're not getting?
Which state decides federal policy on gay marriage for the military and in immigration, and for federal employees?