A mysterious and piercing letter arrives for the King of Judah, carrying a harsh rebuke from a prophet who is seemingly no longer present on the historical stage. The appearance of this message sparks a fascinating discussion, as earlier historical records indicate that Elijah the prophet had already ascended to heaven in a whirlwind during the reign of Jehoram's father, Jehoshaphat, leaving Elisha to take his place.
The primary approach among commentators is that this written message [מצודת דוד] indeed reached Jehoram after Elijah had already departed for heaven [רש״י, מצודת דוד, רד״ק, מלבי״ם, חומת אנך]. Ancient tradition notes that this event occurred seven years after Elijah was hidden away [רד״ק, חומת אנך]. To deliver the message, Elijah appeared through a prophetic spirit to one of the living prophets of that time, placing the exact words of God [מצודת דוד] into his mouth. He then commanded this prophet to write the message down and present it to the king [מצודת דוד, רד״ק, חומת אנך]. The specific intent behind delivering a letter that appeared to come directly from heaven was to deeply shock Jehoram, humble his heart, and force him to recognize the gravity of his actions [רד״ק, חומת אנך]. This extraordinary event also serves as evidence that Elijah remains alive and continues to reveal himself in this world on rare occasions [מלבי״ם].
A slightly different perspective suggests that Elijah wrote the prophetic letter in advance, before his departure, and it was simply kept until the appropriate time to be delivered to Jehoram [ביאור שטיינזלץ]. However, a contrasting philosophical view completely rejects the notion that the letter was written before Jehoram actually sinned. According to this view, if a prophet details a punishment for a sin that has not yet occurred, it fundamentally contradicts the principle of human free will. Therefore, the necessary conclusion is that Elijah lived a long, miraculous life well into Jehoram's reign, writing the letter in real time only after the king committed his evil deeds [רלב״ג].
The reason Elijah is the specific prophet to rebuke the king stems from his earlier prophecies concerning the destruction of the house of Ahab, the King of Israel. Because Jehoram married Ahab's daughter and adopted his wicked behaviors, the earlier prophecy of total ruin applied directly to him as well [מלבי״ם]. This context also addresses why God showed patience to the wicked kings of Israel but decided to punish Jehoram immediately. The distinction lies in Jehoram's background. Unlike the kings of Israel, Jehoram grew up with righteous, accessible role models in his father Jehoshaphat and his grandfather Asa. Because he had clear examples of goodness to learn from and still actively chose to turn his back on their righteous path, his punishment was required to be both severe and immediate [מלבי״ם].