Bile duct cancer, or cholangiocarcinoma, can arise from a variety of risk factors, including chronic inflammatory conditions such as primary sclerosing cholangitis and hepatitis infections, particularly hepatitis B and C. Exposure to certain chemicals, such as solvents or tobacco, has also been linked to a higher incidence. Additionally, congenital conditions such as bile duct cysts can predispose individuals to developing this malignancy, while certain genetic factors may play a role in susceptibility.