![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://lemmy.world/pictrs/image/5170ed37-415d-42be-a3e7-3edd79eda681.png)
Chickens and many other birds appear to bob their heads because their eyes are fixed in their sockets, so they can’t fix their eyes on a point while moving, but instead have to keep their head still. What looks like bobbing is the bird pushing its head forward and keeping it completely still for a moment while its body catches up. Without keeping its head still, it wouldn’t be able to see much of anything very effectively, prey or predator.
T rex might have been able to move its eyes, in which case it probably wouldn’t have bobbed its head.
It’s pretty wonky, but HWRF is a great resource too, but not updated quite as often as some others.