Watchword on the Iranian side:
Sit tight. Our Muslim Brother will give us what we want.
Alternately, Obama/Kerry wanted a deal so badly they were willing to give away the store to the Iranians.
The Iranians knew this and kept raising their demands.