After the Greco-Turkish War of 1922 (and decade long Balkan wars), which meant the extermination & deportation of the Greeks who lived in Asia Minor for millennia, relations between the two countries actually improved.
The new Turkish Republic kept away from aggressive foreign policy („peace at home, peace in the world“) and Greece had many other problems (Bulgaria, Italy etc.), so when Greece was occupied by the axis, Turkey actually send aid & food to Greece. Though admittedly Turkey also signed a friendship contract with Nazi Germany, firmly positioning itself as „neutral“.
The peaceful relationship between the two went on up until the Istanbul pogrom of 1955 which eliminated the last Greeks inside of Constantinople and then the following Cyprus crisis.