This happens because hotel accommodation is generally overpriced. But if you tax the airbnb rentals, it deters profit-minded developers from engaging in this practice, while still allowing it as a last resort for homes that cannot be rented long-term and would otherwise sit empty.