Gee, it could be either, depending on his tone of voice. Mostly, it's a vocalization of his surprise that the dog is suddenly making all that racket, imo.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.