It doesn't. And there's really no way to prepare for it, other than realizing things can change suddenly.
There's been attempts using science to explain what's going on. I've cast every spell I could come across that wouldn't risk a collapse. It's circumvented everything, and seems to have a will of its own.
We don't know the mechanics of this universe at all, or why these things happen the way they do.