“Out of the ground Yahweh God had made every tree.” The trees had been made in Genesis 1. God is just adding detail about them.
“every kind of tree to grow that is pleasant to the sight.” This is very literal and accurate. The concept is expanded and easier to understand in the NIV: “The LORD God made all kinds of trees grow out of the ground—trees that were pleasing to the eye and good for food.” God went to great lengths to make the earth a special place for humankind.