Which event most likely influenced the creation of the science fiction genre?

Athe Industrial Revolution
BWorld War I
Cthe Civil War
Dthe Gold Rush