There are a lot researches to be done about this topic. For example:
1- The Qur'an tells us about a fact that is really amazing in this respect. Allah says:
And man supplicates for evil [when angry] as he supplicates
for good, and man is ever hasty.
Humans sometimes supplicate Allah to perish others or to even to perish them. They do this when they are feeling bad or when they are angry from other people. This why Allah descriped them by saying " and man is ever hasty.
2- Allah told us how the Prophet used to supplicate.The wisdom behind this is to teach us to follow them in this matter. Allah says
And [mention] Zechariah, when he called to his Lord, "My Lord,
do not leave me alone [with no heir], while You are the best of
inheritors."
90. So We responded to him, and We gave to him John, and
amended for him his wife. Indeed, they used to hasten to good
deeds and supplicate Us in hope and fear, and they were to Us
humbly submissive
3- Allah told us that those who did not believe in Him or follow His orders were punished. Had they supplicated to God, they would have been forgiven. Allah says:
And We had gripped them with suffering [as a warning], but
they did not yield to their Lord, nor did they humbly supplicate,
and will continue thus
This topic really deserves a special care, for Allah love those who supplicate to Him.
.