In namaz it is wajib to recite a Surah from the Qur'an. The Qur'an as well is Allah's communication with His creation and on the other hand, Dua is a form of communication of us with Allah and one of those means is namaz but for us to learn the manners of speaking to Allah, we have to again learn from Allah himself how to speak to him and He has commanded us to speak in the form as has come in namaz.
In Dua as well, while we are speaking to Allah, we are also admonishing ourselves and making clear our own status in respect to Allah and our own belief system and tawhid.