Matthew 26:39: What is in the Cup?

Matthew 26:39

39 And going a little farther he fell on his face and prayed, saying, “My Father, if it be possible, let this cup pass from me; nevertheless, not as I will, but as you will.”

Was Jesus being omniscient knowing what was about to happen fearing the agonizing physical pain and suffering or was it something much deeper?