Animal domestication for meat came first. I discuss the issue at length in a book about the history of milk leading up to today’s gigantic industry, to be published in the US (probably in about a year) by Columbia University Press.