Because of
1. The cage is a place is a safe shelter space of animals.
2. Is to protect the danger of animals during the owner is away.
3. Reduce the losses from the risks of various dangers we cannot control less.
4. Prevent bad behavior and prevent trouble before it happens.
And what makes the animal suffering and mental state is the usage of the cage is invalid. But that doesn't mean the torturing animals.