A key government inflation gauge showed Friday that prices have risen by close to 7% over the past year — again stoking fears of an impending recession and fueling rising economic discontent among Americans.