There are several reasons why a cat might urinate on the bed:
1. Heat: If a cat is not spayed or neutered, it may urinate indiscriminately during heat due to the influence of sex hormones. They usually use urine to mark their territory and emit scent to attract mates.
2. Environmental changes: Cats are very sensitive to environmental changes. If they move to a new living environment or get new furniture or other pets, they may feel uneasy and anxious, which may lead to inappropriate urination.
3. Health issues: Cats may urinate in bed due to urinary tract diseases such as cystitis or bladder stones, or due to age, illness, or other factors that weaken their ability to control urination.

Please note that the above are just some possible causes and solutions, and the specific situation may vary depending on the individual differences of the cat and environmental factors.