The recent Tehran summit placed a spotlight on differences between Ankara and Moscow over Syria, leaving the Turkish president rattled.