I think that you are confusing Yosemite Park for Yellowstone Park. No Bison in Yosemite.
Yup you’re right- it was Yellowstone- but really, it’s the same concept- animals in the parks aren’t disturbed by people- They have learned to coexist alongside- and many find food dropped by humans- giving them a better chance of survival