Dogs are also susceptible to high-pitch sound which we can't hear. Azaan, especially early morning Azaan, when the surroundings are rather quiet, is intimidating to dogs hearing, and they respond to it by howling and barking to protect their area from potentially incoming intruders.