Maybe the dog is hungry?
Maybe it wants to go inside?
I mean come on it's pretty cold and lonely
out there.
Maybe you set it on Reverse so it barks when
no intruders are there and stays silent when
it detects motion.
Maybe it's Rabid, if so then make sure to
stay away from it's snout.