This is a good reminder that pets do not make good gifts.
If the pet and the master both consent to it, however, I don't see a problem gifting a pet to a good master.
A good way to gift an animal would be going to a shelter, seeing if there is someone the recipient makes a connection with, and then paying for the fees/starting supplies