The bloodletting between Alawites and forces backing Syria’s new government surprised many. But tensions had been building since the ouster of President Assad.