When the bile duct is blocked, bile can get backed up. Bile is a yellow substance that is secreted by the liver.