I think it's both.
Why shouldn't something that God does be logical? Why is it that we think that if there is a scientific explanation to it, he doesn't exist? Maybe he's smart enough to know that if you make something like *poof* then it starts to unbalance a lot of things radically.