Bereshit / Genesis 1:11 · Drash
וַיֹּאמֶר אֱלֹהִים תַּדְשֵׁא הָאָרֶץ דֶּשֶׁא עֵשֶׂב מַזְרִיעַ זֶרַע עֵץ פְּרִי עֹשֶׂה פְּרִי לְמִינוֹ אֲשֶׁר זַרְעוֹ־בוֹ עַל־הָאָרֶץ וַיְהִי־כֵן׃
And the Almighty said: "Let the earth be covered with greenery: grass yielding seed, the tree-fruit yielding fruit after its kind, whose seed is in it, on the earth." And it was so.
Drash דְּרָשׁ
Why the earth was cursed
Three were at fault, and four were punished. It happens in life too: trouble also strikes those who stood nearby. The midrash asks why the earth was cursed together with the people and the serpent.
The midrash says in the name of Rabbi Natan: Adam, Chava (Eve) and the serpent came to judgement, and the earth too was cursed. Why? According to Rabbi Yehuda bar Shalom, it broke the command: the tree did not taste like the fruit. According to Rabbi Pinchas, on the contrary, it did more than it was commanded: even barren trees bore fruit. And still it was cursed, as people curse the breast that nursed someone who went astray.
How Bereshit Rabbah explain it
Bereshit Rabbah And the Almighty said: "Let the earth be covered with greenery"
It was taught in the name of Rabbi Natan: three came to judgement, and four came out guilty. These are they: Adam, Chava (Eve) and the serpent came to judgement, and together with them the earth was cursed. As it says: "Cursed is the ground because of you" (Bereshit / Genesis 3:17). That is, it will grow cursed things for you: mosquitoes, flies, fleas.
Rabbi Yitzchak of Magdala said: but even they bring some benefit.
Why then was the earth cursed? Rabbi Yehuda bar Shalom and Rabbi Pinchas spoke of this.
Rabbi Yehuda bar Shalom said: because it broke the command. For this is what the Holy One, blessed is He, said to it: "Let the earth be covered with greenery" (Bereshit / Genesis 1:11). As the fruit is eaten, so let the tree be eaten. But it did not do so, rather "the earth brought forth greenery" (Bereshit / Genesis 1:12): the fruit is eaten, and the tree is not eaten.
Rabbi Pinchas said: it even added to the command. It hastened to do the will of its Maker: "a tree yielding fruit" — even barren trees bore fruit.
According to Rabbi Yehuda bar Shalom, all is clear. But according to Rabbi Pinchas, why then was it cursed? It is as people say: "Cursed be the breasts that nursed him."
Takeaway
The three who came to judgement are Adam, Chava (Eve) and the serpent, after they ate from the forbidden tree. God cursed the serpent, told Chava of pains, and said to Adam: "Cursed is the ground because of you" (Bereshit / Genesis 3:14–19).
The same dispute is in the Jerusalem Talmud. There Rabbi Pinchas says that the earth "rejoiced at the command and added barren trees" (Jerusalem Talmud, Kilayim 1:7).
"Cursed be the breasts" is a parable. Rashi brings it on the words "Cursed is the ground because of you": when a person goes astray, people curse the breast that nursed him (Rashi on Bereshit / Genesis 3:17). So too the earth is cursed because of the man it raised.
Ramban draws a conclusion from the words of Rabbi Pinchas: if at the beginning even barren trees bore fruit, then they became barren because of the curse "Cursed is the ground because of you" (Ramban on Bereshit / Genesis 1:11).
The first opinion, that of Rabbi Yehuda bar Shalom, is retold briefly by Rashi, his words are shown in Pshat.