Inflation is a monetary phenomenon. If the money supply grows at 10% a year and GDP grows at 6% a year, the inflation rate is 4%.
If money supply grows at 10% a year but GDP grows at 12%, then deflation is 2%.