"But what is eaten by every soul" (Exodus 12:16) - the preparation of food overrides the festival day, but the Temple service does not override the festival day. For by reasoning: if in a place where some food preparation does not override the Sabbath, some service does override the Sabbath, then in a place where all food preparation overrides the festival day, is it not logical that all service should override the festival day? Scripture teaches, "but what is eaten" - all food preparation overrides the festival day, and not all service overrides the festival day, and not some food preparation overrides the Sabbath. And the law supports this: if in a place where not all service overrides the festival day, all food preparation overrides the festival day, then in a place where some service overrides the Sabbath, is it not logical that some food preparation should override the Sabbath? Scripture teaches, "but what is eaten by every soul," and so forth - all food preparation overrides the festival day, and no food preparation overrides the Sabbath. "But what is eaten by every soul." I might hear that the souls of cattle and the souls of others are also implied; Scripture teaches, "for you" - 'for you' and not for cattle, 'for you' and not for others, the words of Rabbi Ishmael. Rabbi Yose the Galilean says: "but what is eaten" implies even the souls of cattle. It implies bringing the souls of cattle and the souls of others; Scripture teaches "but" [akh], which makes a distinction. Rabbi Akiva says: "but what is eaten by every soul" implies the soul of cattle. It implies bringing the soul of cattle and the soul of others; Scripture teaches "for you" and not for others. And what did you see to make this distinction, that you are warned about the cattle and not warned about the others? Because others - their sustenance is not your responsibility, but cattle - their sustenance is your responsibility. "But what is eaten by every soul" - a thing common to every soul. But now, if a deer happened to come to one on a festival day, since it is not common to every soul, would it also be forbidden to slaughter it? He said to him: I said a thing that every soul needs, and a deer too is something every soul needs. This excludes incense, which is not something every soul needs. "It alone."
Food Preparation Permitted on the Festival Day
Yalkut Shimoni on Torah 201:4
אַךְ אֲשֶׁר יֵאָכֵל לְכָל נֶפֶשׁ. כָּל אֹכֶל נֶפֶשׁ דּוֹחֶה יוֹם טוֹב וְאֵין עֲבוֹדָה דּוֹחָה אֶת יוֹם טוֹב. שֶׁהָיָה בְּדִין וּמָה אִם בְּמָקוֹם שֶׁאֵין מִקְצַת אֹכֶל נֶפֶשׁ דּוֹחֶה אֶת הַשַּׁבָּת מִקְצַת עֲבוֹדָה דּוֹחָה אֶת הַשַּׁבָּת, מָקוֹם שֶׁכָּל אֹכֶל נֶפֶשׁ דּוֹחֶה אֶת יוֹם טוֹב אֵינוֹ דִּין שֶׁתְּהֵא כָּל עֲבוֹדָה דּוֹחָה אֶת יוֹם טוֹב, תַּלְמוּד לוֹמַר אַךְ אֲשֶׁר יֵאָכֵל, כָּל אֹכֶל נֶפֶשׁ דּוֹחֶה יוֹם טוֹב וְאֵין כָּל עֲבוֹדָה דּוֹחָה אֶת יוֹם טוֹב וְלֹא מִקְצַת אֹכֶל נֶפֶשׁ דּוֹחֶה אֶת הַשַּׁבָּת. וְהַדִּין נוֹתֵן, וּמָה אִם בְּמָקוֹם שֶׁאֵין כָּל עֲבוֹדָה דּוֹחָה אֶת יוֹם טוֹב כָּל אֹכֶל נֶפֶשׁ דּוֹחֶה אֶת יוֹם טוֹב מָקוֹם שֶׁמִּקְצַת עֲבוֹדָה דּוֹחֶה אֶת הַשַּׁבָּת אֵינוֹ דִּין שֶׁיְהֵא מִקְצַת אֹכֶל נֶפֶשׁ דּוֹחֶה אֶת הַשַּׁבָּת. תַּלְמוּד לַוֹמַר [אַךְ אֲשֶׁר יֵאָכֵל לְכָל] נֶפֶשׁ (אֲשֶׁר יֵאָכֵל) וְגוֹ' כָּל אֹכֶל נֶפֶשׁ דּוֹחֶה אֶת יוֹם טוֹב וְאֵין מִקְצַת אֹכֶל נֶפֶשׁ דּוֹחֶה אֶת הַשַּׁבָּת. אַךְ אֲשֶׁר יֵאָכֵל לְכָל נֶפֶשׁ. שׁוֹמֵעַ אֲנִי אַף נַפְשׁוֹת בְּהֵמָה וְנַפְשׁוֹת אֲחֵרִים בְּמַשְׁמָע תַּלְמוּד לוֹמַר לָכֶם, 'לָכֶם' לֹא לִבְהֵמָה, לָכֶם וְלֹא לַאֲחֵרִים, דִּבְרֵי רַבִּי יִשְׁמָעֵאל. רַבִּי יוֹסֵי הַגְּלִילִי אוֹמֵר, אַךְ אֲשֶׁר יֵאָכֵל אַף נַפְשׁוֹת בְּהֵמָה בְּמַשְׁמָע. מַשְׁמָע מֵבִיא נַפְשׁוֹת בְּהֵמָה וּמֵבִיא נַפְשׁוֹת אֲחֵרִים, תַּלְמוּד לוֹמַר אַךְ, חִלֵּק. רַבִּי עֲקִיבָא אוֹמֵר, אַךְ אֲשֶׁר יֵאָכֵל לְכָל נֶפֶשׁ, נֶפֶשׁ בְּהֵמָה בְּמַשְׁמָע. מַשְׁמָע מֵבִיא נֶפֶשׁ בְּהֵמָה וְנֶפֶשׁ אֲחֵרִים, תַּלְמוּד לוֹמַר לָכֶם וְלֹא לַאֲחֵרִים. וּמָה רָאִיתָ לְחַלֵּק שֶׁאַתָּה מֻזְהָר עַל הַבְּהֵמָה וְאֵין אַתָּה מֻזְהָר עַל הָאֲחֵרִים, שֶׁהָאֲחֵרִים אֵין מְזוֹנוֹתָם עָלֶיךָ אֲבָל הַבְּהֵמָה מְזוֹנוֹתֶיהָ עָלֶיךָ. אַךְ אֲשֶׁר יֵאָכֵל לְכָל נֶפֶשׁ. דָּבָר הַשָּׁוֶה לְכָל נֶפֶשׁ. אֶלָּא מֵעַתָּה נִזְדַּמֵּן לוֹ צְבִי בְּיוֹם טוֹב הוֹאִיל וְאֵינוֹ שָׁוֶה לְכָל נֶפֶשׁ הָכִי נַמִי דְּאָסוּר לְמִשְׁחֲטֵהּ. אָמַר לֵיהּ, אֲנָא דָּבָר הַצָּרִיךְ לְכָל נֶפֶשׁ אֲמִינָא, וּצְבִי נַמִי צָרִיךְ לְכָל נֶפֶשׁ הוּא. לְאַפּוּקֵי מֻגְמָר שֶׁאֵינוֹ צָרִיךְ לְכָל נֶפֶשׁ. הוּא לְבַדּוֹ.