So we are supposed to believe that animals know what a hospital is and what is good for them?
Yes, but you’ll notice the cat is a FluBra. No mask.
A feral cat has to know every part of its territory. I think it’s plausible that an adult cat could incorporate “sick things go into this building” into its mental map.