God Caused Time, Space, and Matter
The cause of the universe is God. Our Creator is outside of the physical creation he made. Time is not eternal, but created.
To ask what happened in time before time was created is to create a false paradox without meaning. There was no "before" before the triune universe of time, space and matter was created.