first off that's the goat of mendes, baphomet- a relatively recent invention- not satan.  satan/iblis/lucifer is described not as a goat dude or a red guy with a pitchfork but as the most beautiful of all angels, remember he was god's favorite angel just like judas was jesus's closest friend and disciple.  the muslims have a story about why lucifer went all wonky and led a rebellion, that i think is beautiful. i believe it's from the sufi tradition. anyway after god made adam and eve, he commanded all the angels to kneel, recognizing that he was going to give the humans something the angels lacked- materiality, free will, and a soul (angels occupy a kind of intermediate state, not fully physical, and exist to serve certain purposes, not fully endowed with free will and souls in the same way we are- almost more like computer programs) anyway all the angels prostrated themselves in front of adam at god's command except for lucifer, he refused to accept the innate superiority and closer connection to god of the humans. and that started the whole thing rolling- his pride when you hear that story it kinda makes sense how the world run by this satan guy seems designed to make humans suffer as much as possible, doesn't it? he's jealous of us because we have something he can never have. sauce   n.jsp?chapter=2&verse=34 > sahih international: and [mention] when we said to the angels, "prostrate before adam"; so they prostrated, except for iblees. he refused and was arrogant and became of the disbelievers.
United States