Three possibilities come to mind:
Is there an evolutionary purpose?
Does it arise as a consequence of our mental activities, a sort of side effect of our thinking?
Is it given a priori (something we have to think in order to think at all)?
EDIT: Thanks for all the responses! Just one thing I saw come up a few times I’d like to address: a lot of people are asking ‘Why assume this?’ The answer is: it’s purely rhetorical! That said, I’m happy with a well thought-out ‘I dispute the premiss’ answer.
There is an old Taoist story about two people floating down a river. One has already decided where he wants the river to take him and is constantly swimming against the current to try to get there, the other just floats along taking in the sights.
They both end up wherever the river takes them, and they both went through the same obstacles and rapids, but when asked how the trip was, one of them is complaining about the whole trip being frustrating and exhausting, while the other had a pleasant time and tells you all about the amazing things they saw on the way.
I love that!
Really illustrates the saying, “go with the flow,” too.