The video earned plenty of LOLs and comments about the strangeness of the relatively terrifying noise for an otherwise normal-seeming dog.
But one commenter on YouTube pointed out that there could be a good explanation. "My guess? He's an older dog and he's partially deaf so he's barking louder to hear himself."
Sure enough, Cody's bark sounds like Bailey's, a deaf dog whose scream has been recorded here: