Walmart made an unexpected business move that seems contradictory ahead of the crucial holiday shopping season.