Appearance and shelf life. That's how an apple attracts a buyer on a store shelf.
Once you've bought grocery in a store, you're not going to return it if it's so-so but not outright dangerously rotten. And your choice of large stores nearby is limited, so you're not going to stop going to that store.