It is antagonistic to Yahweh’s nature for Him to create something that is profane, obscene, or sinful. The Bible tells us that God is not the author of sin.
Seeing that God is the Father of lights, which is to say that He gives birth only to that which is holy and righteous, and that in Him is no variation or shifting shadow, how could He speak into creation that which is not in Him?
Had Satan maintained his focus upon God he would have been filled with the goodness and light of Yahweh. Yet, the prophet Ezekiel reveals to us that this anointed cherub who covers began to set his focus upon his own splendor, beauty, and wisdom. As he considered himself, he turned his focus away from Yahweh. The result of turning away from the source of all light is darkness. Satan became darkened in his understanding and began to worship the creature (his own magnificence) rather than the Creator (Romans 1:25).