Your dog's behaviour is a result of genetics, social experiences (socialisation) and the environment surrounding them. Lessons may be lost or altered by dramatics events, these often shape the way they view the world.