It was mainly about jealousy! his bad brother Seth was so angry with him because Osiris was beloved to people and especially Isis who loved him so much; This was the main reason that his bad brother Seth killed him.