Supply and demand change is what increases or decreases costs. If demand don't adapt, there will be inflation to force it to adapt :)
Inflation is the systemic increase in all costs of what a household would buy as money itself become less valuable.
Prices 'inflating' on a single product because there's a shortage of... base materials or whatever is not inflation as an economic term.