It depends on the size of the cage, the amount of time the pet spends in the cage, and the overall care provided to the pet. If the cage is appropriately sized, clean, and the pet is given regular exercise and social interaction outside of the cage, then it may not be considered cruel. However, if the cage is small, unclean, and the pet is confined for long periods without adequate care, it can be considered cruel.