You may never get an answer to the why questions. Why did God send you this or that unpleasant experience?
You can rest assured that when life makes no sense, God has a purpose for everything. The Apostle Paul said that when he is weak, then is he strong in the Lord.
Psalm 46:1-2 God is our refuge and strength, a very present help in trouble. Therefore will not we fear, though the earth be removed, and though the mountains be carried into the midst of the sea;
Do unanswered whys really matter when God is working his plan in your life, growing and shaping you for His glory? Trust Him.