what caused america to grow into an industrial nation during the late 1800s