The setting influences the development of the plot because

A It leaves the tenants powerless to stop the murderer.

B Living close together in an apartment building heightens the character’s suspicions of one another.

C Halloween is occurring and makes the neighbors frightened.

A, B, or C

I would say B. Living close together in an apartment building heightens the character's suspicions of one another.