So that the Panama Canal could be built. This would make it easier for the United States to move their ships from the Atlantic to the Pacific and vice versa.
To understand how the present affects the future
They had to face racism from many white Americans. They also were treated unfairly by being segregated from whites.