If God created everything in the world then did he also create the serpent who tempted Eve?
Why would he do this? Why would he create something to contended with himself and tempt others to disobey God?
If not how did the serpent get there?
One does not need to delve into the garden account or unravel whether it was a talking snake or a manifestation of Satan or any of that in order to say for certain that God created it. Everything outside the person of God himself was created by him. This includes every physical object and creature in the universe, the universe itself, angels, and any other spiritual beings that exist. If it exists and is not God, God created it.
So did God make the snake? Yes he did.
Why would he create something that would contend with himself?
Remember that Satan himself is nothing but a fallen angel, originally created by God but as an angel of light. It is in this sense that Martin Luther is quoted as having said:
I think this is a good reminder not to give credit for any power or authority he does not have. Nothing he is or does is done outside the sphere of God's sovereignty and in due time God will reign him in and show his works for the lies that they are.
Why God would create some being and give it free will (man) or the power/choice to rebel against him (angels) is an intricate topic. Perhaps he knew the best way to demonstrate his authority and power was to have some stage on which it could be demonstrated. Perhaps because having creatures that serve you as robots that have no other option does not satisfy an intrinsic need to be honored.
See also: Does God need our praise and glory?
As with a lot of things in the early chapters, Genesis isn't very clear on the details. It doesn't even specifically say that Satan had anything to do with it, but that's generally accepted as true, that Satan was working through the serpent in some way. But we do see that:
Remember that Satan was Lucifer, a great and powerful angel who was cast out of heaven for rebellion, and has been trying to get God back for it ever since by screwing up His plan. It stands to reason that if Satan was able to tempt people, he would also be able to tempt animals that can communicate with people. He picked the serpent for being "the most subtle." Why? it doesn't say. Maybe he simply wanted to get every advantage he could to make sure that his first attempt to derail God's plan worked. In any event, he picked the most subtle of the animals and convinced it to tempt the humans into eating the forbidden fruit, and it worked.
Thank you for your interest in this question.
Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?