There is no definitive scientific answer, only theories, a best guess.
The Big Bang theory is the most referred to suggestion. "It is the idea that the universe began as just a single point, then expanded and stretched to grow as large as it is right now—and it is still stretching"!
Scientists suggest the Big Bang event occured 13.8 billion years ago.