Each of these countries blocks off the two regions associated with it by land (you can only get from one region directly to the other by land by going through the country associated)
region definitions from Wikipedia
regions in red mean that the answer country is part of that region
Jammu and Kashmir are not counted as part of any country