People use religion to cope with uncertainty because...
You are able to call upon a God who can control an outcome.
In modern society this isn't relevant as the technology (applied by science) can control the outcomes of the natural world to some degree. This gives us a greater levels of certainty, leading to less religion.
Malinowski states there is a positive correlation between uncertainty and religious beliefs.