What two countries border the US?
The 50 states touch Canada and Mexico. Canada’s boundary follows both the northern edge of the contiguous states and the eastern side of Alaska. It crosses rivers and the Great Lakes. These are still parts of the same terrestrial international frontier. Mexico meets the United States to the south, with the Rio Grande forming a long section of the line.
Russia sits across the Bering Strait from Alaska. A map that displays nautical boundaries may show a maritime separation between the two countries. Their land does not touch. Keep the coastline and maritime layers distinct when your question is about travel on land or counting countries that border one another.