Well, lightning causes thunder. Lightning is a discharge of electricity. ... The expansion creates a shock wave that turns into a booming sound wave, known as thunder. As ice crystals high within a thunderstorm cloud flow up and down in the turbulent air, they crash into each other.