people who live there don't want a bar (which here, often means drunk, yelling, rowdy, drunk-driving, publicly-urinating people) going up right next door to their house/condo. Other example of zoning laws would be auto repair shops (15 broken-down oil-leaking cars parked down the street). each city can decide these things.