The brain size of dogs has decreased because the part of their brain responsible for alerting the organism to danger has shrunk. The shrinkage was necessary for domestication.