I assume because 32 is a power of 2, which makes for a great bracket size, which both helps organizer and makes the bracket perfectly even, and makes it fair for everyone. If there was slightly less or more than 32 players, some people would have to play more matches than others to win, which makes it less fair.