What presupposes the question is if there is a reason for the creation? As Aristotle mentions in his physics a beginning presupposes an end. In that, there is a principled order towards attaining an end. What principles things? Minds do. So a blind cosmic event does not due the the creation of the cosmos justice. In that, it was a marvelous idea.