Cancer can lead to unexplained weight loss through several mechanisms. One primary reason is the increased metabolic rate caused by the cancer cells, which consume a lot of energy. Additionally, cancer can cause the body to produce substances that alter the way it uses proteins, carbohydrates, and fats, leading to muscle and fat loss.