I am so sorry for your loss. What a horrible thing to have to go through let alone witness. I am not a vet just throwing something out there - Could he have possibly had a collapsed trachea? It is common among smaller breed dogs.
So Sorry. God Bless his little heart. He is happy at Rainbow Bridge.