I think the OP's comment is just right. Some "bugs" (spiders are "bugs" but they are not insects) have surprisingly complex behavior, and chickens can be surprisingly stupid for animals with actual brains. For instance, they will stay in their coop and drown in a flood, even if they can easily jump over its fence to evade you in other times. It's really incomprehensible.