Syrian government forces and the SDF fought for control of Kurdish-majority districts of the city, killing at least 21 people and forcing thousands to flee.