Which of the following statements is an example of sarcasm?

A.
"Nice job, Ted," Al yelled as Ted missed the catch that would've won the game.

B.
"Who'd have guessed that a firefighter was behind the arson of the shelter?"

C.
"It didn't turn out well," Dana said when asked about the charred cake layer.

D.
"You could've knocked me over with a feather," Ava exclaimed.

B.

"Who'd have guessed that a firefighter was behind the arson of the shelter?"