Vague pronouns

24a. When the car hit a tree, it made a terrible noise.

24b. The car made a terrible noise as it crashed into a tree.

My answer is: 24b

Right. :-)