First off, not all atheist believe in the evolution theory, they just don't believe in any god/gods.

Secondly, according to the evolution theory we evolved from apes (not monkeys) into what is now Humans. Why we interact better with dogs has nothing to do with any of the mentioned subjects. We're just more social and so are dogs.