Why does God curse the serpent if it was only a form of the devil and not the animal itself?

Answer this question...

  Delete this entire line when answered.