Inflation has nothing to do with scarcity. It is the result of the supply of money increasing relative to the value in the economy. It's supply & demand, which applies to money just like everything else.
Scarcity does raise prices, but that is not inflation, because if X's price rises, you spend more on X, but you have less to spend on Y, which lowers that price.
Inflation can really be thought of as expansion of the money supply while all other things remain steady - stuff just arbitrarily gets more expensive.
Central Banks target 2% inflation so that we don't fall into a deflationary trap. It's like keeping the treadmill running just a little bit, to force the person to run forward.
Austrian school economists basically equate inflation with money printing - to them it's the same thing.
But most things increase in price due to a) better quality product and b) regular dynamics of business c) currency.
So when the beer gets more expensive it's:
a) Better beer (at least in the eyes of the consumer), i.e. longer brew times, better taste, better ingredients
b) More expensive input costs
c) Currency issues with imports etc.
Those are not inflation, just price fluxuation.
Inflation is when the exact same thing gets costlier, all other things being equal.
Prices are driven up when there is too much demand competing for a limited amount of goods. When a company can scale infinitely, they don't have to raise their prices. Lower prices keep demand up, so producers tend to want to keep their prices low.