I'd say they overwrite them because the second webmaster is the one that sent the sale.
Also, you could have unscrupulous affiliates cookie users with their refcode without actually trying to make a sale. then you come along and make the effort but the scammer gets credit because the sponsor doesn't overwrite the cookie.