Another interpretation of "When Pharaoh speaks to you" (Exodus 7:9): The Holy One, blessed be He, said: Tomorrow I am bringing My children out of Egypt and giving them the Torah, and in it is written, "If there arises in your midst a prophet, etc." (Deuteronomy 13:2). It is only just that he should demand of you and say to you, "Produce a wonder for yourselves, etc." At first he speaks to you harshly, for the expression "he speaks" (yedabber) is nothing but an expression of harshness, as it is said, "The man, the lord of the land, spoke to us harshly" (Genesis 42:30). He said to him: Aaron shall be the one doing these things, while you stand like a prince decreeing upon the elders, and they carry it out, as it is said, "And you shall say to Aaron: Take your rod and cast it down before Pharaoh, etc." (Exodus 7:9).
Why Pharaoh Spoke Harshly and Aaron Cast Down the Rod
Midrash Tanchuma Buber, Vaera 13:1
ד"א כי ידבר אליכם פרעה וגו'. אמר הקב"ה למחר אני מוציא בני ממצרים ונותן להם התורה, וכתיב בה כי יקום בקרבך נביא וגו' (דברים יג ב), בדין הוא שיהא תובע אתכם ואומר לכם תנו לכם מופת וגו', בתחלה הוא מדבר עליכם בקושי, ואין לשון ידבר אלא לשון קושי, כד"א דבר האיש אדוני הארץ אתנו קשות (בראשית מב ל), א"ל אהרן יהא עושה את הדברים האלה, ואתה עומד כנשיא גוזר על הזקנים, והן עושין, ואמרת אל אהרן קח את מטך והשלך לפני פרעה וגו' (שמות ז ט).