Your first sentence suggests that he is shocked at the same time as we hear him-- it is a condition at that time; the second sentence indicates that the shocking definitely precedes the sounding and perhaps no longer appertains but is a previous event.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.