B. They disagreed over who should lead the Muslim community after the death of Muhammad.
This disagreement centered around the question of leadership and succession, with Sunni Muslims believing that the community should select its leader (the Caliph), while Shia Muslims believed that leadership should stay within the Prophet Muhammad's family, specifically through his cousin and son-in-law Ali.