A Social Security number can be used to steal your identity (commonly called identity theft) to commit fraud, open new credit and bank accounts, get medical care/other benefits and obtain employment.
Stores will often ask you to show your driver’s license (or other government-issued ID) when you return a purchase and then record your information along with information about the returned items to help identify patterns of return fraud or abuse.