Major U.S. indexes surrendered early gains as a lower-than-expected inflation report failed to resolve concerns about interest rates and recession risks.