If the events unfolding in your life have left you asking God, "Why God Why?!!" understand that He may have permitted them to display His power.
We can see a good example of this when the Israelites found themselves trapped between the Red Sea and Pharaoh's army because They were very afraid and they cried out to God. (Exodus 14:10)
They then turned to Moses and asked him, Were there no graves in Egypt that you have brought us here to die in the wilderness? (Exodus 14:11)
Some of them may have even asked in their hearts "Why God Why?!!". "Why did you bring us out of Egypt only to let Pharaoh catch up with us right here in front of the Red Sea when we do not have boats to cross it?"
However, God let the events unfold in this manner so that He could display His mighty power for He said to Moses, "I will harden the hearts of the Egyptians and they shall follow the Israelites so that I will gain honor over Pharaoh and his army. Then the Egyptians shall know that I am the Lord." (Exodus 14:17-18)
God did indeed gain honor over Pharoah and his army when He drowned them in the middle of the Red Sea as they tried to follow the Israelites.
Therefore understand that God does His things differently from how we would expect Him to do them.
Consequently, one answer to the question "Why God Why?" is "So that you can know God's power" when He delivers you from that humanly impossible situation that is troubling your mind.
In addition when you find yourself in a similar situation where you are trapped by problems on all sides and you are asking, "Why God Why?" understand that you have to continue doing what God already told you to do if He has not given you different directions.
We can see in the case of the Israelites He told Moses, "Tell the Israelites to go forward but lift up your rod over the Red Sea and divide it." (Exodus 14:15)
Therefore do not think of changing course or retreating just because you have encountered problems. Pray and wait for His directions while keeping your mind focused on where He told you to go even if there is a big Red Sea of problem between you and your destination.