If something can happen, that's because he let it to be happen. And if he lets something to be happened it has to has a cause. Because randomness or aimless can not relate with such a great power. When you look at the bigger picture, like 400 billion stars in only a Galaxy (Milkyway) and 2 trillion galaxies in the observational universe... How to explain this massive whole with randomness and pointless. In this case we accept, pray and obey to the only and almighty Muhammed's god. And accept that everything that occurs has a meaning and aim in it. As Einstein said, "The god doesn't roll the dices."
So, if something happens, this will lead another thing to happen. Or the things that happen until a point will have a cumulative effect and cause a much more bigger events to occur. Here, we can not seperate the meaning and the aim from the event itself and the actors. Because the only reason that universe came through and mankind created is only to worship the god.