How can an author's use of setting build tension within a story?

ABy having a character remember a previous setting
BBy having a character not fit in or be at odds with the setting
CBy having a character reenact historical events that happened in the setting
DBy having a character become comfortable in the setting