I’m not sure the exact answer, but one major difference between stray dogs and truly wild animals is that dogs typically can’t survive in the wild, they need to live near human settlements. This sets them apart from wolves (the nearest wild relatives of dogs).