Deep question! I’m not sure that we scientists can explain WHY the planet was created (if there is a why). People over in the astronomy zone might be able to tell you HOW it was created, but not why. You might need to ask a philosopher about that one!
Comments