The question of origins... Why do we, as humans, assume that our awareness permits us to define such a thing? Are we that arrogant to think our miniscule existence, a nanoscopic insignificant dot in the universe, can even possibly perceive or conceive of what reality is?
Understandably, we seek meaning in life. It's an internal drive to find purpose, motivation, reason to live life. It's all a mystery and the element of the unknown is fun, provides a goal. In the end, we'll live our entire lives driven towards finding a meaning, then we die without ever truly knowing, truly believing.
So what's the point? Life is what you make of it, rather than simply living within it. You can choose what your meaning is, individually, and they are all correct! Convincing others of your meaning is irrelevant because each meaning is tailored for each individual.
Many people are scared, lazy or unmotivated to find their custom tailored meaning so they resort to letting others figure that out, whether that be religion or science. And that is perfectly acceptable, if they realize what they have given up.
To the OP, you have a perfectly valid question. It doesn't make sense to those who have chosen the path of "science" as we know it. It is analogous to asking what is 1/0. The answer is simply undefined.
To those who have chosen the path of "religion" as we know it, the answer is simple: Some higher being or beings did it.
Both answers are correct (not necessarily the truth, but what do we really know about truth anyways, look at first paragraph).