This is called retargeting. Aside from possible repeat purchases, my guess is that enough people browse a site or never complete their checkout that advertisers are happy to take the chance that 50% of people who see the ad might no longer be interested because that's still higher interest than you can get from almost any other channel.