Though energy prices fell last month after their spring surge, other factors pushed up costs as the Fed considers raising interest rates.