Rising food and gas prices are causing consumers to pull back on discretionary spending. That hurt retailers in the first quarter.