I mean, they give the hepatitis B vaccine at birth, because there’s a small risk the newborn was exposed during delivery, and this protects them. But there was still a lot of pushback to giving every baby a vaccine that prevents a disease that’s mostly already by sex and drugs.
I think the medical establishment plays up that it’s cheaper to vaccinate than to test the moms, to keep “your child might have sex!” out of the conversation. But it still gets brought up.
(That’s one of the vaccines that was never really recommended to my cohort that i sought out. I see that now “CDC recommends it for almost everyone”, but i asked for it when they were only recommending it for babies and people with known higher risk.)