Alcohol/gravity and the style help drive that difference. I've bottled wits/wheats after 10 days primary only.
More alcohol, and different types of alcohol takes longer to smooth and mellow. A more complicated grain bill takes longer to meld into one complex blend. So a barleywine or Dark Strong would take longer than a blonde or amber.