Jaundice occurs, when there is too much bilirubin being produced for the liver, to remove from the blood, due to a defect in the liver that prevents bilirubin from being removed from the blood, or from getting converted to bilirubin/glucuronic acid (conjugated), or from being secreted in bile.