Why does my dog hate the postman.
Your dog barks loudly, and then the person leaves (after they have done their delivery).
Of course your dog does not understand this; it thinks that aggressive and loud barking has successfully chased the person away.