This is actually a really famous and interesting copyright case that established some important bounds of copyright. How much of an artist’s intent is necessary to claim copyright? Can an artist set up a situation in which some creative product is produced?
There is actually a lot of animal photography that is dependent on the animal itself to trigger the camera, such as trail photos or even those cute photos of squirrels interacting with dollhouse furniture like tiny little humans. There is a lot of meticulous planning, experimentation, and patience that goes into “spontaneous” photographs.