It's basically a trade off. The higher the temperature (within limits) the faster the fermentation but the more chance of producing undesirable favors, such as certain esters. During primary fermentation, where there is a massive amount of sugars in the wort, higher temperatures can produce enough esters and other undesirable compounds to adversely affect flavor. The yeast are also producing massive amounts of C02, which is why you need an airlock/blow-off tube to vent all the C02.
But for carbonation, you add a relatively small amount of extra sugar because you only need a relatively small amount of C02. Any esters or related compounds will be in such small amounts to have negligible impact on flavor. So you can afford to use higher temperatures in order to get faster fermentation/carbonation with little risk of undesirable flavors.