Walmarts have lots of cameras. Those workers checking receipts when you leave are glancing at receipts to see if self checkout was used.
I have noticed that if you use a regular checkout, they don't look in any bags. If you used the self checkout, they may glance in the bags if there are big ticket items. They also watch the person to see if they act nervous.