Bereshit / Genesis 1:12 · Pshat
וַתּוֹצֵא הָאָרֶץ דֶּשֶׁא עֵשֶׂב מַזְרִיעַ זֶרַע לְמִינֵהוּ וְעֵץ עֹשֶׂה־פְּרִי אֲשֶׁר זַרְעוֹ־בוֹ לְמִינֵהוּ וַיַּרְא אֱלֹהִים כִּי־טוֹב׃
And the earth brought forth greenery: grass yielding seed after its kind, and a tree yielding fruit, whose seed is in it, after its kind. And the Almighty saw that it was good.
Pshat פְּשָׁט
The grass that worked it out by itself
Sometimes you are told to do one thing, and then you hear someone nearby being told what is really wanted. Do exactly what you were told, or grasp the intent and do what is wanted? In our verse the grass found itself in just this position.
The command "after its kind" was said only to the trees, Rashi explains, but the grass heard it, reasoned "all the more so we" and grew each after its kind. Bartenura asks: the earth has neither will nor choice, so how could it fail to fulfil the command about a tree that tastes like its fruit? His answer: the command was about man. He was given the power to work the earth so that the tree would taste like the fruit, and after the sin this power was taken away. "Cursed is the ground" is about man, and the words about the earth's punishment are an image.
How Rashi and Bartenura explain it
Rashi And the earth brought forth
Although "after its kind" was not said of the grasses in their command, they heard that the trees were commanded so, and reasoned on their own: all the more so we. So it is told in detail in the stories and interpretations of the sages, in tractate Chullin.
Bartenura "Tree-fruit: that the taste of the tree be like the taste of the fruit, but it did not do so."
One asks: how can it be said that the earth did not do the will of the Omnipresent? The earth has neither will nor choice. And if it was set in its nature to make the taste of the tree like the taste of the fruit, how did its nature change?
It can be answered this way. The words "that the taste of the tree be like the taste of the fruit" mean: it was set in its nature that man would have the power to work the earth so that the taste of the tree would become like the taste of the fruit. By itself it did not do so. And when man was cursed for his sin, this power was taken from him. That is why it says: "Cursed is the ground because of you" (Bereshit / Genesis 3:17), that is, he will not have the power to work it properly, as it says next: "Thorns and thistles it shall grow for you" (Bereshit / Genesis 3:18). And the words "it was called to account for its sin, and it was cursed" are an image, like "Then the land shall make up for its sabbaths, in which it did not rest" (Vayikra / Leviticus 26:34–35).
Takeaway
In the command "after its kind" is said only of the tree (Bereshit / Genesis 1:11), yet both the tree and the grass grew "after its kind" (Bereshit / Genesis 1:12). Rashi builds on this difference.
"All the more so" (קַל וָחֹמֶר) is what the sages call a conclusion from the lenient to the strict. The grasses reasoned: if the trees, which do not grow mixed up anyway, were told "after its kind", then all the more so we (Chullin 60a). The full story is shown in Drash.
How could the grass "hear" the command to the trees, if it did not yet exist? The book "Gur Aryeh" answers: they themselves did not hear, their mazal (מַזָּל) heard, for "although they themselves do not see, their mazal sees" (Megillah 3a) (Gur Aryeh on Bereshit / Genesis 1:12). The mazal over every grass is in Remez.
Bartenura explains not the verse itself but the words of Rashi on the command of 1:11: "that the taste of the tree be like the taste of the fruit, but it did not do so" (Rashi on Bereshit / Genesis 1:11). That comment is shown in Pshat of 1:11.
The words "Cursed is the ground because of you" and "Thorns and thistles it shall grow for you" were said to the first man after the sin (Bereshit / Genesis 3:17–18).
"The land's sabbaths": every seventh year the land in the Land of Israel is not to be sown and the vineyard not pruned, "the land shall have a sabbath" (Vayikra / Leviticus 25:2–4). This year is called "shmita" (שְׁמִטָּה), "release".
"Then the land shall make up for its sabbaths" is said of what will happen if the people did not keep these years: they will be led away to a foreign land, and the land will lie empty and so rest for all the years in which it was not allowed to rest (Vayikra / Leviticus 26:34–35). There the earth is "punished" just as figuratively as here, says Bartenura.
"Shechitat Chullin" (שְׁחִיטַת חֻלִּין) is the slaughter of animals for ordinary food, not for the altar ("chullin" means "ordinary", as opposed to the holy things of the Temple). So Rashi names tractate Chullin, where the laws of such slaughter are discussed (Rashi on Bereshit / Genesis 1:12).