It may be that the replicated goods represent a classic Free Lunch loss leader, intended to gather people in the bar and encourage their gambling, or the purchase of certain goods the replicator does not have the resolution to produce at high fidelity
it is implied at least since STII that spirits retain some degree of scarcity, via contraband Romulan Ale, and Guinan’s private stock of Aldebran Whiskey suggests the trend continues circa 2360