Sweating works well in dry climates, not as well in humid ones. In high enough humidity, the sweat doesn't evaporate, doesn't cool you, and the whole system becomes a moist, messy loop.
In dry, hot climates sweating works well, but increases our water consumption... these are the habitats where water is often scarce.
Tradeoffs.