What outside factor most directly contributed to the formation of enclaves in cities?

What outside factor most directly contributed to the formation of enclaves in cities?

A: a common culture among American citizens
B: restricted access to education
C: housing discrimination
D: the availability of jobs