For the last three hours of Jesus’ crucifixion (from noon until 3 PM) God caused darkness to cover all the land (perhaps over the entire world). It was during these dark hours that Jesus experienced the wrath of God. During the end of those hours, at the ninth hour, He cried out with a loud voice saying, “My God, My God why have You forsaken Me?”
Matthew 27:46 (also Mark 15:34)
And about the ninth hour Jesus cried out with a loud voice, saying, “Eli, Eli, lama sabachthani?” that is, “My God, My God, why have You forsaken Me?”
Who can imagine what He was experiencing? He was in a state of horror, completely forsaken by the only one who could save Him from death. God had abandoned Him, and His full wrath was upon Him—something He had never experienced before. But it was something He had to do for us.