Human toothpaste is not edible, which is why we spit it out when we are through brushing our teeth.
Since dogs cannot rinse and spit out toothpaste, they will swallow it.
Ingredients in human toothpaste, like fluoride, can be toxic to dogs in large doses, so it is unsafe for them to ingest it.