This post is belongs to a series of posts on Reality and Mormon theology.
Traditional Christianity, Judaism, and Islam, believe that God created reality out of nothing. They believe that a conscious God came first and reality comes second. Since God created reality, he created the laws of reality. Since he created the laws, it is also believed that He could break them or change them to whatever he wishes.
By contrast, the theology of The Church of Jesus Christ of Latter-day Saints (the Mormons) asserts that God did not create reality. Reality came first and then God came second. More precisely, God is part of reality and is coeternal with all of the constituents of reality such as matter, energy, and consciousness (D&C 93 and 131). According to this view, objective laws and principles are eternal. God cannot change them, but His perfect understanding of them is a source of His power.
See The Theological Foundations of the Mormon Religion by Sterling McMurrin.