Job apparently had some questions for God. But first God had some questions for Job.
Here are just a few of those questions:
Where were you when I laid the foundation of the earth?
Do you send the lightning bolts on their way?
Does the eagle soar at your command?
Job had encountered pain, real pain on this earth. In the early chapters of the book of the book that bears his name he represents God well. But in his suffering he wanted some answers from God. In a stunning confrontation with God in chapters 38-42, Job is asked repeatedly about things that only God could do. The purpose of the questions, among other things, is to help Job gain humility.
Until we are humble we can’t have the perspective necessary to see clearly when we are hurting.