Inflation is only necessary when resources and population are inflating.  Because money represents current value in the economy, that amount decreases through consumption or increases from new-found resources.  Sometimes deflation is necessary to maintain a balanced money.