Devarim / Deuteronomy 31:28
הַקְהִילוּ אֵלַי אֶת־כָּל־זִקְנֵי שִׁבְטֵיכֶם וְשֹׁטְרֵיכֶם וַאֲדַבְּרָה בְאָזְנֵיהֶם אֵת הַדְּבָרִים הָאֵלֶּה וְאָעִידָה בָּם אֶת־הַשָּׁמַיִם וְאֶת־הָאָרֶץ׃
Assemble to me all the elders of your tribes and your officers, and I will speak these words in their hearing and call the heavens and the earth to witness against them.
Pshat פְּשָׁט
Gathering without trumpets
Rashi: the trumpets were hidden while Moshe was still alive, for "there is no rule on the day of death". And before, Moshe told Israel that he was calling witnesses, while now he addresses the heavens and the earth themselves, with the song "Listen, O heavens". Malbim: as long as the heavens stand over the earth, the Torah will stand whole and will not change in any generation.
How Rashi and Malbim explain it
Remez רֶמֶז
A letter at the top of a column
Minchat Shai: "and call to witness" stands at the top of a column, the letter vav (ו) in the sign "bet, yod, heh, shin, mem, vav" (בי״ה שמ״ו). Six lines before the song begin with fixed words, then an empty line and the song. Rabbeinu Bahya: the heavens and the earth are like witnesses who sign a contract at its end. And the letter vav (ו) hints at the vav (ו) in the great Name: that is the heavens, who are among the witnesses.
How Minchat Shai and Rabbeinu Bahya explain it
Drash דְּרָשׁ
The trumpets that were hidden
Midrash Tanchuma: "Make for yourself": the trumpets were for Moshe alone. Even Yehoshua (Joshua) at Jericho blew shofars, not them. Rabbi Yitzchak: on his last day Moshe said "Assemble to me", not "blow", for the trumpets were already hidden. Rabbi Levi: to fulfil "there is no rule on the day of death".
How Midrash Tanchuma (Buber) explain it
Sod סוֹד
The heavens as witnesses
Sefat Emet: the heavens and the earth are witnesses because nature changes with the deeds of Israel: if they mend their deeds the earth gives its yield, if not the heavens are shut. This is a new level the people gained by the power of the Torah. For one who believes, nature changes by his faith. And even in exile Israel always have a share in the Torah and in the heavens.
How Sefat Emet explain it