It was a reprisal- not an aggression. It followed an aggression. Adjust your timeline.
"Preamble
We, the people of the Democratic Autonomous Regions of Afrin, Jazira and Kobane, a confederation of Kurds, Arabs, Syrics, Arameans, Turkmen, Armenians and Chechens, freely and solemnly declare and establish this Charter.
In pursuit of freedom, justice, dignity and democracy and led by principles of equality and environmental sustainability, the Charter proclaims a new social contract, based upon mutual and peaceful coexistence and understanding between all strands of society. It protects fundamental human rights and liberties and reaffirms the peoples’ right to self-determination.
Under the Charter, we, the people of the Autonomous Regions, unite in the spirit of reconciliation, pluralism and democratic participation so that all may express themselves freely in public life. In building a society free from authoritarianism, militarism, centralism and the intervention of religious authority in public affairs, the Charter recognizes Syria’s territorial integrity and aspires to maintain domestic and international peace.
In establishing this Charter, we declare a political system and civil administration founded upon a social contract that reconciles the rich mosaic of Syria through a transitional phase from dictatorship, civil war and destruction, to a new democratic society where civic life and social justice are preserved."
https://civiroglu.net/the-constitution-of-the-rojava-cantons/
This is what is needed in the Middle East, not a bunch of Religious Quacks running around loose beheading people because they are Witches.