mmm, as a concept dogs are not capable grasping "Don't do it". It is an abstract concept.
Just like you can not explain to 2 year old why grandma went to heaven
and is not coming back....
Humans grow up and eventually are capable of abstract thinking. Dogs never do. They do not understand past, present or future/ abstract concept again/- world is not build for them in same way.
Dogs live in the DO land. Sit, Down, Stand, Touch etc...