Final answer:
David faces tension between his moral opposition to the death penalty and his desire for justice for his friend's murder. Cognitive dissonance theory suggests he must change one of his attitudes to reduce this tension. The correct option is B.
Step-by-step explanation:
The question pertains to cognitive dissonance theory, which posits that when an individual holds two contradictory beliefs or attitudes, psychological tension arises.
In the scenario described, David opposes the death penalty on moral grounds, yet he feels a strong desire for justice to be served when his friend is murdered in a state where the death penalty is a form of justice.
According to cognitive dissonance theory, the correct answer is that David would have to change one of his attitudes to feel less tension (Option B). This necessitates either altering his stance on the death penalty or reconciling his desire for justice with his moral opposition to capital punishment. The correct option is B.