"Nay but, O man, who art thou that repliest against God? Shall the thing formed say to Him that formed it, Why hast thou made me thus?" (Romans 9:20).
Whenever one begins a question with "Why?" he should realize that the answer must necessarily be theological, not scientific. Science can deal with the questions of "what" and "how," sometimes even with "where" and "when," but never with "why!" The "why" questions have to do with motives and purposes, even when dealing with natural phenomena ("Why does the earth rotate on its axis?" "Why do we have mosquitoes?"). Even though we can partially explain such things by secondary causes, we finally encounter a "first cause," and then the "why?" can be answered only by God.
The wise thing to do is simply to believe that He has good reasons for everything, whether we can discern them now or not. "Shall not the Judge of all the earth do right?" (Genesis 18:25). God the Creator "worketh all things after the counsel of His own will" (Ephesians 1:11), and it is our high privilege simply to trust Him, not to question Him.
On the other hand, He often asks us: "Why?" "Why are ye fearful, O ye of little faith?" Jesus asked His disciples when they thought they were in great peril (Matthew 8:26). "If I say the truth, why do ye not believe me?" (John 8:46) He would say to those who question His Word.
Then to those who doubt His deity, the apostle Paul speaking in His name, asks: "Why should it be thought a thing incredible with you, that God should raise the dead?" (Acts 26:8). As the popular chorus goes: "God specializes in things thought impossible!" Our God is omniscient and knows what's best; He is omnipotent, so He can do it. He is all-loving and will surely do what's best for those who trust Him. HMM