Malignant (cancer) cells develop in the bile ducts in the rare condition known as bile duct cancer.