Quite far apart I'd say. There is an ocean in between.
They share a common border.
BF
There are non-stop flights from Mexico City to Havana, as well as flights with connections in cities such as Cancun and Cozumel. Your flight may take from 2 and a half hours (Mexico City - Havana) up to 4 hours or more (Mexico City - Cancun - Havana).
There are no bays between Maryland and New Mexico. They are far apart and are separated by land, not sea. New Mexico doesn't touch any oceans.
Same distance as Mexico to the USA. Zero. They are right next to each other.
There is a distance of 264 Kilometers (164 miles) between the island of Cozumel in Mexico and Pinar del Rio, the westernmost province in Cuba.
Both cities are 3,481 kilometers (2,163 miles) apart from each other, straight line.
227.76 miles from Havana Cuba to Miami Florida
Far apart.
all the european coasts, and the black sea
The distance between the westernmost point of Mexico and the easternmost point in Japan are some 8,155 Km (5,068 miles) apart.