This. Walmart's image has been severely tarnished over the years as a result of their abusive labor practices. Now that Amazon is also acquiring that same image, it's the perfect time for Walmart to pull a PR about face.
I suppose they hope such a gesture will woo people away from Amazon and back to Walmart who cares about people, unlike Amazon.