Wheat beers retain some sweetness that balances out the acids from the fruit. They also tend to be cloudy so any pectin haze from the fruit doesn't detract from the beer.
And wheat beer is awesome.
But blondes, pale ales, brown ales, bitters, milds, porter, stout etc. can also be made with fruit.