When people react viscerally to rehoming pets, I remind them that this is something that also happens with children.
The practice is largely unregulated (see here for examples in TX scholarship.law.tamu.edu/lawreview/vol5…). There are entire private Facebook groups dedicated to rehoming recently adopted children, and before Facebook, there were backpage ads in newsletters and magazines for adoptive parents.