How was the embargo an incentive for Lowell to create a factory in the United States?

The embargo resulted in higher prices for textile. Lowell saw an opportunity to make a profit from the higher textile prices.