This story is likely from a children’s anthology. Little boy lives in a spaceship (maybe space colony?). He has a pet (maybe turtle?). Pets are rare due to scarcity. A group of visitors come (maybe from another colony) and are amused by the pet. The boy is pressured to give the pet as a gift to the visitors.