Why Newborns Turn Yellow
Bilirubin is produced when red blood cells break down. Newborns produce a lot of it — they have more red cells, those cells are shorter-lived, and a newborn liver is still ramping up the enzyme that clears it.
The result is that most healthy newborns become visibly jaundiced in the first days of life, and for most of them it resolves without any intervention. This is the reason the condition is dangerous: the ordinary case and the dangerous case look the same at the start, and both look like a yellow baby.
Certain circumstances accelerate it — blood group incompatibility between mother and infant, bruising from a difficult delivery, prematurity, feeding difficulty and dehydration, G6PD deficiency, infection. Several of those are known before the infant leaves the delivery room, which is why risk assessment before discharge is part of the guidance rather than an optional extra.
At high enough levels, unbound bilirubin crosses into the brain, with a particular affinity for the basal ganglia and brainstem nuclei. That is kernicterus, and it does not reverse.

