Food, gas cost more; economist explains surge in inflation