No, it is because if you don’t give the correct zip code associated with the credit card, then it could prove that the credit card does not belong to you.
What I meant was, they swipe your card, catch the data on a skimming reader - then get your zip code, then they get to buy gas with your card number and zip.