Turkey is one of the largest buyers of Russian gas, second only to Germany. (And on the flip side, Turkey heavily depends on Russian gas).
Putin has to project a tough response for domestic consumption, but neither side will want to escalate this incident out of proportions.