knowing animals, I am sure the wolf/canine/dog became man’s best friend the first time the wolf smelled meat roasting over a man’s fire.
That roasting meat leads to another question.
Cooked foods is one of the things that allowed our brains to grow. Digestion of raw foods takes up considerable energy and it takes considerable energy to operate our brains. A lot of what we give our dogs is cooked food. I can’t help but wonder if dogs are growing more intelligent as a result. (outside of deliberate breeding for other traits)