Because, apparently, it's not just the number of legs on a cat, or the number of sides on a hexagon.
It's because Douglas Adams, the great philosopher and mathematician, once said it was. And if you don't like it, well, you can just ask Arthur, who'll probably just shrug and say, "42, I suppose."