The dog hid. The thunderstorm scared him. What is the best way to combine these sentences?

O1 Scared, the dog hid during the thunderstorm

O2 The dog hid, when the thunderstorm scared him

O3 The thunderstorm hid the dog, and scared him

O4 The thunderstorm hid the scared dog