Dogs are more likely to bite when they are scared, startled, or threatened. They can also be unpredictable around small children, who may not understand how to treat animals kindly.