Here's a problem to solve: Which of the following best explains the cause of windows rattling during a thunderstorm?

Among the 4 following options, which is the correct answer?

- A: electrical energy
 
- B: sound energy
 
- C: light energy
 
- D: heat energy
 