The LDS Church believes that the war in heaven started in the premortal existence when Heavenly Father (Elohim) created the Plan of salvation to enable humanity to become like him.
According to the LDS Church, heavenly contention arose before physical life began when Heavenly Father (Elohim) formulated a plan of salvation to facilitate humans' likeness to Him.