Ancient wolves may have self-domesticated by staying near humans for food scraps, gradually evolving into early dogs.