Any country can name anything they like on their maps. Arabs don't put Israel on their maps at all while we call Deutschland Germany.

But claims by Mexicans that European colonizers named it that before America was a country aren't real. They called it Golfo de Nueva España.