The voice of God sounds like thunder when it is in relation to His administration of justice.
As Samuel was offering up the burnt offering, the Philistines drew near to attack Israel; but the LORD thundered with a mighty voice that day against the Philistines and threw them into confusion; and they were routed before Israel. 1 Sam. 7:10
In David’s Psalm of deliverance he speaks of the Lord’s thunder.
The LORD thundered from heaven, and the Most High uttered his voice. 2 Sam. 22:14
The LORD also thundered in the heavens, and the Most High uttered his voice, hailstones and coals of fire. Psa. 18:13
The voice of the LORD is upon the waters; the God of glory thunders, the LORD, upon many waters. Psa. 29:3
The crash of thy thunder was in the whirlwind; thy lightnings lighted up the world; the earth trembled and shook. Psa. 77:18
The crowd standing by heard it and said that it had thundered. Others said, “An angel has spoken to him.” John 12:29
This is in opposition to His still small voice. Elijah heard that voice when he was exhausted, frustrated, and lonely.
. . . and after the earthquake a fire, but the LORD was not in the fire; and after the fire a still small voice. 1 Kings 19:12