Noise phobia is a condition characterized by a fearful or apprehensive response to certain sounds, which makes your dog want to put as much distance as possible between them and the noise source. It's very different from fear or anxiety and needs to be treated differently. Here's a great article explaining noise phobia and how you can help your dog by learning and practicing coping techniques.
Signs that your dog has a noise phobia include hiding or escaping; trembling and pacing, or freezing in place; vocalization (barking or whining); destructive behaviors; excessive panting and/or salivating; uncontrolled urination or defecation. If your dog us suffering from noise phobia, it's important to know that he or she truly is suffering. The good news is there are some easy techniques you can use at home or in partnership with your vet to help alleviate the suffering and help your dog through the stressors.