Astrophysicists say that life on earth may have come from mars when there was a collision of two stellar bodies (one of them being mars) and a chunk of mars came away, then proceeded to impact earth with seeded life here
Father time and mother nature got together and here we are,simple.
There is an enormous difference between the original origination of life, and the process by which it evolved.
The actual origination of life was a far more random event than it's subsequent 'shaping' by evolution - but that's the beauty of billions of passing years.
If you just kerp throwing the dice - time after time for billions of years - eventually even unlikely things will happen. It's not a matter of 'if' - just 'when'.
Then you get evolution.
Life originated with "The First Music".
Wikipedia has a pretty good article on that very subject - [en.wikipedia.org]