The sound wave produced as a lightning stroke heats the air causing it to rapidly expand.