Herod, the ruler of Israel, had taken his brother's wife as his own, and John the Baptist boldly and pointedly indicted him for his sin. Herod retaliated by imprisoning John. John probably wasn't worried initially. He probably thought, That's okay. Messiah's on the scene. He'll spring me out of here in no time. Don't the prophecies declare He shall open prison doors and set the captive free? I won't be in here long! No problem! But there he sat, week after week after month in that dingy, damp dungeon. And he sent word to Jesus: "What's going on? You're Messiah, aren't You? That's what I was preaching. I even saw the dove of the Spirit descend upon You. Why, then, haven't You established Your kingdom? Why am I still in prison?"
Do you ever feel like that? Do you ever ask, "Lord, why am I still imprisoned? Why haven't You set me free? Why haven't You worked it out, Lord? Week after month after year has gone by, and here I sit." John did. So he sent emissaries to ask Jesus if He was the Messiah. If not, they would start looking for another.