وَاللَّهُ تَعَالَى يَسْتَجِيبُ الدَّعَوَاتِ وَيَقْضِي الْحَاجَاتِ
Allah Most High answers supplications and fulfills needs.
The servant presents needs to Allah. Supplication expresses dependence upon His power and mercy. The fulfillment of needs ultimately belongs to Allah's authority.
Making duʿāʾ is a human act, while accepting the prayer and granting what is sought occurs according to Allah's decision.