Why? Who in their right mind thought this was a good design decision? It doesn't stop theft, it doesn't stop scams, it doesn't do anything other than infuriate legitimate customers at seemingly random.
Or in another example, trying to find the item you're buying if it's not a standard product with a bar code on the bottom. If the shop has a bakery or meat counter or whatever, that usually means lots of scrolling through pages trying to find the item you bought while hoping you can remember what the name of the damn thing was on the shelf in case two items look almost identical. Or in case you can't make out certain details on a tiny icon properly.
A human cashier can usually sort this stuff out much quicker than a customer using a self service machine could.