Caring for a pet can significantly impact a family’s budget, from food and grooming to medical care and unexpected emergencies.