Indeed, Hamas was formed from the Egyptian arm of the Muslim Brotherhood, putting pressure on Morsi from both sides: pushed domestically to help Palestine and internationally to court peaceful relationswith Israel.
The country is still facing a diplomatic crisis with the European Union over its relationswith Germany after a Berlin court ruled in April that Iran's leaders were implicated in terrorism on German soil.