If you want to be accurate, that's not true. Inflation measures the decrease of purchase power of a currency, not its monetary mass, whichever you choose (M1, M2, etc).
An increase of monetary mass at a rate exceeding demand for money (caused by increased economic activity) is one of the ways to cause inflation, in this case by causing nominal price increases.
The USD is inherently inflationary because there is no limit to this mechanism. Bitcoin is not inflationary because there is.