Kos and the rest of the Dodecanese belonged to Italy from 1912 to 1947, when they became part of the Kingdom of Greece.
I remember hearing about these “ live side by side” villages in Iraq. It lasted until the militant Islamists took over these villages. Then the “neighbors” were pointing out where the Christians were.