The Bible simply does not to tell us such things so there is no easy answer.
We are not told just how He was made but 2bn (2,000,000,000) people believe that He is God. The older I get the more convinced I am that He made it all for our home. I guess because He is supernatural it is beyond our comprehension (understanding)for real people – but trees, flowers, birds, animals, seas, forests, mountains and so much in our beautiful environment makes me believe that He made it all.
Again: “I believe that this earth, life and planet are only a kindergarten, a school, to prepare us for His heaven and eternity that He has made.” We are here to learn about Him – so do it.
All these work together so well. Trees need rain, bees need flowers and tree blossom, and we get yummy honey. Birds nest there. Thousands of fruits like bananas, apricots, apples, oranges and watermelon, etc. A very kind and brilliant creator gave us all these to enjoy. In the beginning God said: "Let us make man in our image and likeness." (Genesis 1:26).
And in another part: "By faith (by believing God) we know that the world and the stars – in fact all things were made at God's command." (Hebrews 11:26).
The older I get, no other idea can fully explain how it all works in a beautiful 'Web of Life.' And more: Our planet spins just right, once a day, orbits the sun annually, tilts to give us four seasons and stays in perfect orbit and has done so for millions of years. What God thinks of our clear-felling forests, fouling oceans and rivers and treating our environment as though it was rubbish tip – I can only imagine.