Another way to say "Sometimes lightning causes thunder." is "Thunder is sometimes caused by lightning."