Food retailers are juggling multiple challenges as they confront high energy prices and shopper concerns about food affordability.