It’s a ton of work to put together a case and bring it to court - we’re talking months of research and writing for complex cases.
It’s not realistic to assume the courts can strike down something days after it happens if it takes months to put an argument together.
But I’ve been rather impressed by how fast the Supreme Court makes decisions when cases are brought quickly (likely much less complex).