By cross-referencing your name (from your credit/debit card) with your zip/post-code, stores are able to determine specifically who you are with greater probability than without the zip/post-code.
Googling for "why stores ask for the zip code" brings up a lot of press post, e.g. https://www.forbes.com/sites/adamtanner/2013/06/19/theres-a-...