First of all, the universe had to begin.
Then the universe had to make structures, atoms etc, capable of bonding and storing information.
I can't understand why structures that contain information try to preserve that information by duplicating themselves.
Perhaps that is linked to how the universe itself began,
or is the reason why the universe began.
Unless the universe was of the type it is, we wouldn't exist.
Either that is chance, or the universe came into being because it could generate life.
Could preserve increasing amounts of organic information.
The other explanation is that we are part of a multiverse, which is as unprovable as creationism,
and some of the people who propose it just as biased.
I haven't got a proper theory, just an inclination to think that the universe has a lot more secrets to divulge.