Newborns are often given a vitamin K injection shortly after birth to prevent vitamin K deficiency bleeding (VKDB). This condition can lead to dangerous bleeding in various parts of the body due to the low levels of naturally occurring vitamin K in newborns, which is essential for blood clotting.