Cancer treatments such as chemotherapy, radiation therapy, and hormonal therapy can have significant effects on glucose metabolism, potentially exacerbating diabetes or precipitating new-onset diabetes. For instance, certain chemotherapy drugs can cause damage to the pancreas, leading to impaired insulin production. Additionally, steroids used in cancer treatment can increase blood glucose levels, complicating diabetes management.