The Turks had the Saudi consulate bugged. Every country in the world tries to plant listening devices into foreign embassies and consulates. It is no surprise then that the Turks know what happened within the consulate and use the evidence to squeeze the Saudis. Erdogan knows how to play the media and does his very best to drag out the story. He will press the Saudis for financial and political gains.
http://www.moonofalabama.org/2018/10/saudis-stonewall.html#more