God created every moving creature from water. So some of them move on their bellies, and some walk on two legs, and some walk on four. God creates whatever He wills. God is capable of all things.
Translation endnotes
[24:45] It is noteworthy that humans are included in the classification of living creatures according to physiological characteristics. This is in line with other verses that indicate an evolutionary method in creating Adam's biological body. Millions of years ago, the ability of a mammalian to walk on two feet is considered a critical point in the evolution of the human brain and the creation of homo sapiens. Walking on two feet might seem like a simple orthopedic change but its effect on the neuropsychological transformation is huge. See 29:18-20; 41:9-10; 7:69; 15:26; 32:7- 9; 71:14-17. Like the Quran, the Bible mentions water and ground as the main origin or ingredients of life (Genesis 1:20-21; 2:19).