It’s more-or-less geographic destiny that Iran and Turkey will become the dominant powers in Western Asia.
They both basically ruled the area for most of history.
The best we (the West) could do is nudge them towards human rights and peace and friendship. For Turkey, that’s mostly a done deal.
For Iran, that was exactly what Obama tried to do. And it’s also what Iran has been trying to get for the past 25 years.
Iran is inherently on a path towards secularisation and more dovish policies. It’s the threat of war by the US and Israel that keeps the defense hawks in power.
Iran, especially, will never fully trust the USA - and for good reason. But they do want better relations with the USA. They just don’t want to get burned or bombed.