It was not immediately clear who was behind the strikes on the village of Akayrshi on Sunday and the town of Boukamal on the Syrian-Iraqi border Monday, and activists blamed the US -led coalition.
Mr Trump was painting the US-led fight against ISIL - which in Syria relied heavily on Kurdish forces that Turkey labels terrorists - as floundering, and promising a change of strategy.
Turkey views the militia as an extension of the outlawed Kurdistan Workers Party (PKK), which has fought a deadly insurgency in southeast Turkey for many years and is considered a terrorist group by the United States, Turkey and Europe. The U.S. considers the YPG to be a separate organization, and as an effective fighting force against ISIS, too valuable an operational ally to exclude from the fight against ISIS. Tensions got worse in April, when Turkey launched airstrikes against the YPG.
After some sabre rattling, the Turks made clear it would not attack US forces present with YPG forces.
Preparations for the visit were inauspicious, with Washington announcing for the first time it would arm Syrian Kurdish fighters whom Ankara considers to be terrorists.
While Turkey and the US saw their close ties as critical to halting Soviet expansion during the Cold War, their military relations have been more strained since 2003 - when Turkey refused to let the USA use it as a base from which to invade Iraq. Long before Trump took office, USA presidents have grappled with the fragility of partnering with Turkey's government and the Kurds to carry out a Middle East agenda.
Another issue that Erdogan is expected to bring up in his meeting with Trump is Fethullah Gulen, an Islamic cleric who has lived in self-exile in the U.S. state of Pennsylvania since 1999. And Trump's temporary national security adviser was a paid agent for the Turkish government, which must have been momentarily confidence-inspiring. During an attempted coup last July, the Turkish government cut off power to the base for several days.
Turkey has pressed the USA to extradite Fethullah Gulen, to no avail.
"Put yourself in the shoes of the Turkish president", the official said.
Beyond the crisis, both Turkey and the United States will look for elements of a "positive agenda", said the senior Turkish official, who spoke on the condition of anonymity because of the sensitivities of the upcoming visit.
Turkey had high hopes that Trump's administration would be more aligned with its interests than was President Barack Obama's. And our promise to you is that we will always strive to provide indispensable journalism to our community.
Even if Ankara could get USA courts to act, a quick decision in the Gulen case was unlikely, Arslan said via e-mail.
Relations between Damascus and the Syrian Kurds have largely remained neutral.
What then will form the basis of improved relations with our at-times hard ally Turkey?
The move has plunged US-Turkish relations to a new low, unleashing a tidal wave of anti-American sentiment.
Second, continued high-level consultations to preclude any surprises.
"I see this trip as a new milestone in Turkey-U.S. relations", Erdogan said, as he prepared to fly to Washington. Trump and Erdogan will likely discuss the implementation of the peace process, as well as the de-escalation zones, Russia's role and Iran's involvement. If Erdogan can accept that his expectations cannot be realized because of the constraints of USA law and national security interests but that he will be treated as an equal and there will be no interference or even harsh commentary regarding his domestic policies, these two birds of a feather should flock together for the mutual benefit of their respective national security interests. Last week, President Vladimir Putin sent his foreign minister Sergey Lavrov to the White House to meet with the U.S. President.