The god Apollo gave her the gift of prophecy so that she would love him, but Kassandra did not want him. This made Apollo angry, but he could only change his gift and not take it away. So he made it that Kassandra could only foresee bad things, and that no one would ever believe her.