A dog’s owner will be automatically (strictly) liable if they knew or should have known about the dog’s aggressive behavior before the attack.
Any person, including the dog’s owner or a third party, may be responsible for failing to use reasonable care (acting negligently).