This question tests two things together: choosing "a" versus "an" based on the sound that follows it, and picking the right connecting words so the sentence reads naturally.
Only the second choice keeps every blank grammatically sound: a pit, an elephant, bewildered and miserable, look up at a crowd.
Let's summarize:
So the correct sequence of words is "a; an; and; at", option (B).