It would seem that initially the children were playing with and "having fun" with the dog. I suspect they did not understand its body language, and did not realise it felt threatened - not the children's fault, but not the dog's either. Where was the owner? A very sad sequence of events.