Pet parents are trading down as costs rise, reshaping loyalty and creating new challenges for pet retailers and brands.