Why did Spanish authorities close the port of New Orleans?

The Spanish did not close the Port of New Orleans.

The Mississippi River was closed to American commerce on October 16, 1802 by the Spanish governor of Louisiana.

Copyright Wanderlust World © https://www.ynyoo.com