Thundering makes a very lid sound that is beyond our hearing capacity. Even humans are scared of this. We also put cotton in babies' ears to save from thunder of cloud and crackers' sound.
That's true. Thundering and also some other loud sounds are there which makes animals scared. I think animals know about the effect of thunder and lightening. It is also possible that they think the sky would fall on their head after thundering, etc.