Thats what happens when people dont obey allahs order. He clearly says in the quran for Muslims not to fight each other. I dont even know where these people can justify their killings and brutality.
Takfir is done, that way someone is not Muslim anymore for that person