Which Exchange of dialogue is formatted correctly?

A. "Dominic squinted suspiciously. Why are you here? he asked." "I don't need a reason, Jill said, walking past him"

B. Dominic squinted suspiciously. "Why are you here?" he asked. "I don't need a reason," Jill said, walking past him

C. Dominic squinted suspiciously. "Why are you here?" he asked. "I don't need a reason," Jill said, walking past him.

D. "Dominic squinted suspiciously. Why are you here? he asked. I don't need a reason, Jill said, walking past him"