The article does not say whether the child and the dogs were previously acquainted.
While the article doesn’t exactly say they knew each other, the article does say: “At some point the animals fled and were later found inside the boy’s house. . .”
To me that reads like they knew each other because the dogs retreated to the kids home.