i personally just think its all to do with the family temperament and how it was raised, of course, the breeds temperament play a small role as well, but its mainly about the way the dog has been raised, you could raise the most vicious dog breed to be as gentle as a butterfly, but you can also raise a cute little fluffy pompom to be a killing machine ^^
its just the same with children =3