Because there is a law such as gravity, the Universe can and will create itself from nothing.
The question is: is the way the universe began chosen by God for reasons we can't understand, or was it determined by a law of science? I believe the second. If you like, you can call the laws of science 'God', but it wouldn't be a personal God that you could meet, and ask questions.