In the context of cancer, polyuria can occur due to several mechanisms. These include direct effects of the tumor, side effects of cancer treatments, or paraneoplastic syndromes. For instance, cancers affecting the kidneys or bladder can directly impact urine production and output.