Answer :
A. Scared by the thunder, I hid under the covers in the bed.
The comma, after "thunder" tells the reader that two events happen: the author was scared by the thunder, and for this reason he hid under the covers in the bed.
The comma, after "thunder" tells the reader that two events happen: the author was scared by the thunder, and for this reason he hid under the covers in the bed.