No, 240 isn’t a randomly chosen number. It comes from that being the max rate that physics simulation steps at.
Running higher than that will potentially decrease simulation stability while providing almost no benefit so capping it helps for people who might otherwise think higher always = better.