The Rambam wrote in the second chapter, law 17: Fish, birds, and wild animals that are muktzeh—one may not water them on Yom Tov, and one may not place food before them, lest he come to take from them. And anything that is forbidden to eat or to use on Yom Tov because it is muktzeh—it is forbidden to move it. Thus far his words. This law is in the Mishnah of "One may not hunt," see there. And seemingly, even on Shabbat one may place food before beasts and wild animals whose sustenance is upon you, whether they are impure or pure. And behold, it is even permitted to toil for them to make it food so that they can eat, as I wrote above in siman 324, and as the Mishnah taught: One may cut up a carcass before dogs. And all the more so on Yom Tov. So why do we not place food before them?
Rashi, of blessed memory, explained: Because it is possible for fish to live without this, see there. But the Rambam was not satisfied with this, for the Mishnah concludes: "But one may hunt a wild animal or a bird and place food before them," for it is explicitly explained that the permission for food is only because of the hunting. For this reason, the Rambam explained that the reason is only on Yom Tov, because we fear lest he come to take from them. But regarding an impure beast, this concern is not relevant, and it is permitted to place food before them. And it is possible that even for a pure beast that is muktzeh it is also permitted, for we only fear the concern of hunting. This is the opinion of our teacher, the Beit Yosef, in his great book in siman 498. And there are those who disagree on this (Magen Avraham, subsection 2). And there is one who says that fish, wild animals, and birds that are in enclosures are not called "readily available to man," and it is as if their sustenance is not upon you (Ran, see there). This is according to the opinion of Rashi that we cited. But all other species that are in a person's house and courtyard, whether impure or pure, are called "their sustenance is upon you," and one must feed them on Shabbat and Yom Tov. However, at the end of Beitzah it is explicitly implied that regarding watering them, one may water even those that are not in his house and courtyard, see there (see Magen Avraham, subsection 2).
וכתב הרמב"ם בפרק שני דין יז: דגים ועופות וחיה שהן מוקצה – אין משקין אותן ביום טוב, ואין נותנין לפניהם מזונות, שמא יבוא ליקח מהן. וכל שאסור לאכלו או להשתמש בו ביום טוב מפני שהוא מוקצה – אסור לטלטלו. עד כאן לשונו. דין זה הוא במשנה ד"אין צדין", עיין שם. ולכאורה הא אפילו בשבת נותנין מזונות לבהמות ולחיות שמזונותן עליך, בין טמאים בין טהורים. והרי אפילו מותר לטרוח בעדן לשווייה אוכלא, כדי שיוכלו לאכול, כמו שכתבתי לעיל סימן שכד, וכדתנן: מחתכין את הנבלה לפני הכלבים. וכל שכן ביום טוב. ולמה אין נותנין לפניהם מזונות?ורש"י ז"ל פירש: מפני שאפשר לדגים לחיות בלא זה, עיין שם. אבל הרמב"ם לא ניחא ליה בכך, שהרי מסיים במשנה: "אבל צדין חיה ועוף ונותנין לפניהם מזונות", דמבואר להדיא דהיתר המזונות הוא רק מפני הצידה. ולזה פירש הרמב"ם דהטעם הוא רק ביום טוב, משום דחיישינן שמא יבוא ליקח מהן. אבל לבהמה טמאה לא שייך חשש זה, ומותר ליתן לפניהם מזונות. ואפשר דאפילו לבהמה טהורה המוקצית מותר גם כן, דלא חיישינן רק לחשש צידה. וזהו דעת רבינו הבית יוסף בספרו הגדול בסימן תצח. ויש חולקין בזה (מגן אברהם סעיף קטן ב). ויש מי שאומר דדגים וחיות ועופות שבביברין לא מקרי מצויים אצל האדם, והוי כאין מזונותן עליך (ר"ן, עיין שם). וזהו כדעת רש"י שהבאנו. אבל כל שארי מינים שבביתו וחצירו של אדם, בין טמאים בין טהורין מקרי "מזונותן עליך", ויש לזונם בשבת ויום טוב. ומיהו בשלהי ביצה משמע להדיא דלעניין להשקותן משקין – אף אותן שאינן בביתו וחצרו, עיין שם (עיין מגן אברהם סעיף קטן ב).