think it is more likely the dog was tryin to protect the daughter as boxers are very territorial, boxers see there selves as the protector of the family and as such probably felt threatened by the neighbour, but like you said the kid should have never been out with the dog in the first place.