Neither. The Gulf of Mexico is a separate oceanic basin bordered by:
It connects to the Atlantic via the Straits of Florida and to the Caribbean via the Yucatán Channel, but it is a distinct marginal sea with its own circulation, ecology, and geology.