Did you not see that Allah sends down water from the sky so the earth becomes green? Allah is certainly Subtilely Informed.
It is Allah (SWT) Who brings out vegetation through rain. Everything belongs to Him, He is Independent of everything and praised, knowing the minutest details of His whole creation.