Why does Azerbaijan have pockets of land within Armenia and vice versa?

COOKIE SETTINGS