I am so sorry this happened. It's impossible for any of us to tell you why the dog suddenly attacked.
I hope you will return the dog to the breeder and I hope the breeder will do right by the dog.
Ruth & the 4 Legged Rescue Gang
Rafi the malaroo
Gio & Varda, the krazy kittens
....In my heart: