Did you get the dog from the breeder or another party? If you aren't certain what type of training the dog has previously have, there is really no way to understand what was going on in the dogs head. Who has him now?
I'm sorry your wife was injured by him.
Curious to know the dogs pedigree.