Walmart probably generates the PIN using the visible card number and someone has reverse engineered the code.
Or an organized crime group has suborned a person in the IT department who can get a list of card numbers and pin codes.