Because it’s really hard to stuff a dog into an overhead compartment?
That kind of misses the point. What is the reason objects are to be secured during flight is the appropriate question.