Help in the question

Why is it B?

Why is it B?