God gave us a brain. Now why would he do that if he did not want us to use it? He also told us humans have dominion over the land and animals, so would it not be logical that a reason would be the brain he gave us? He would want us to use that brain to solve problems.
Like any parent, we want our children to learn to make their own decisions after we teach them right from wrong and lessons to keep them safe, healthy and prosperous. My guess is we would become annoyed if our children continued to ask us questions that they should know the answer to. And, yet we pray for miracles or guidance when we have the power in our hands or the hands of a skilled surgeon. Maybe the surgeon’s skill is the miracle for which we pray.
The minister John Pavlovitz writes a blog worth reading regardless of the relative faith you may possess. He breaks things down in simple terms. The attached link is a good example of his writing and guidance. I encourage you to take a few minutes to read this piece.