Why do babies need to get a hep b vaccine in the hospital and not later on in life when it is safer?

To Save Lives. To prevent the rare case of neonatal hepatitis b, which may be deadly or cause permanent liver disease. And who says it is less safe to give an infant the vaccine. Safety is there for all ages.
Safer ????????????? The original studies on the vaccine were all done with the initial dose within hours of birth. The reason it is done now is the success in reducing endemic Hep B in Hawaii where it was studied & common among Polynesians & passed from mother to baby. It worked & there is NO REASON to believe it is safer to wait. Having treated a 9mo with unexpected Hep B liver failure I know the bad that can happen.