They're different people. The Turkish air force shot down the plane, but it crashed in Syrian territory and the pilots were allegedly killed by ethnic Turkmen in Syria, who are not under the control of the Turkish government.
It's like if you really REALLY wanted to kill someone whom your neighbour also hates, and he bought a gun and just peacefully placed it on a table in front of you without saying a word.