A sharp energy shock would raise production costs and consumer prices, fueling inflation expectations.