Final answer:
The Chinese Exclusion Act of 1882 is the discriminatory law that affected Chinese immigrants by banning their migration to the United States and fostering an environment of intolerance towards Asian Americans.
Step-by-step explanation:
The discriminatory law passed by the US government that impacted those depicted in the photo is A) the Chinese Exclusion Act. This act, passed in 1882, explicitly banned the immigration of Chinese laborers into the United States. Its goal was to reduce competition in the labor market, particularly on the West Coast, where there was a belief that Chinese migrants were taking jobs from White Americans. Additionally, it contributed to an atmosphere of intolerance and discrimination toward Asian Americans that persisted through history.