Here is the answer… Dogs may have become domesticated because of our ancestors had way more meat than they could eat. During the bad ice age, hunter-gatherers may have shared any surplus with wolves, which became their pets. Of corse genetic evidence suggests that dogs split from their wolf ancestors between 27,000 and 40,000 years ago. Hope this helps!