No, both are NOT the problem. What responsible dog owner allows their dogs to roam freely? NONE, that's how many.
Once, I can see as an accident..."they got out", but twice is a serious problem with the OWNER, NOT the dogs.
You treat obtusness as if it were a virtue.