Cancer can lead to bone density loss through various mechanisms. Certain cancers, like multiple myeloma and metastatic cancers, directly affect the bones, weakening their structure. Additionally, cancer treatments such as chemotherapy, radiation therapy, and hormone therapy can negatively impact bone density.