Iran is using the nuclear issue to push for removal of all sanctions, which goes against what many in the US and Israel want which is regime change and "democracy" brought to Iran like Iraq and Libya.
Iran's big strategy is to put giving up its rights to enrich uranium which are provided to every nation that signs the NPT, in exchange for lifting of sanctions.
Rouhani believes in the deal, while extremists in the US and Iran view the chances of a deal unlikely and don't trust each other.
Once it gets a deal, it will be admitted into the Shanghai Cooperation Organization and China and Russia will have the back of the Iranians. Meaning the sanctions will be reduced and actively oppose the remaining sanctions while beefing up Iran's military.
Iran can then in 10 years restart its nuclear weapons program with no fear of Israeli or US interference. it will be like India and Pakistan, the US and EU will put new sanctions and make angry faces in 2025, none of which will hurt Iran which has shielded itself from further economic blackmail by then.
By agreeing to a deal the Israelis are right to be pissed off, because you acknowledge the independence and middle power status to Iran in the future.
Turkey and India are the 2 main countries that officially accept sanctions against Iran but unofficially are its biggest trade partners.
They are Iran's best sanction busters.
The sanctions against Iran are hurting the dollar and Euros long term stability because they have encouraged countries like Iran, Turkey, India, Pakistan, China and Russia to trade with each other using currency swaps in their mutual currencies and gold.
This is one of China's many small moves towards the end of dollar hegemony over the world economy, they have been quietly yet furiously encouraging this behind the scenes.
Obama wants to derail China's long term plans to destroy dollar hegemony and give it a couple more decades to survive,
he will see a deal and let the sanctions against Iran go.
Iran's business community (bazaaris) are powerful and influential over the government and they are susceptible to seduction by the world financial elite / AKA parasites.