PKK and YPG are not terrorist groups, they are Kurds fighting for independence, no different to Americans fighting for Independence. Obama admin have marked them as terrorists only to appease Turkey their oppressors
Kurds are mostly pagans by religion and they are mostly communist by their socioeconomic views. It is a primary reason why they can’t get along with anyone else (Saddam’s Iraq, Pre-islamist pro-Western Turkey).