CAIRO (AP) -- Military attack helicopters rattle over the impoverished desert towns of northern Sinai and the sound of gunfire erupts nightly, raising fears among residents of a looming confrontation between Egypt's military and Islamic militants who have intensified attacks since the ouster of President Mohammed Morsi.
Militant groups have grown bolder, striking security forces almost daily and also turning on local Christians. Some are now openly vowing to drive the military out of the peninsula on the borders with Israel and Gaza and establish an "Islamic emirate." Further fueling the turmoil is the longtime resentment among many in the Bedouin population over decades of neglect and harsh security crackdowns by the state.
The military and security forces have widened their presence, and military intelligence officials told The Associated Press an offensive is being planned, but no further details were given.
In a rare move, the Egyptian military sent a helicopter across the border to fly over the southern end of the Gaza Strip early Friday. Egyptian security officials said it was intended as a warning to its Hamas rulers amid concerns that Gaza militants are trying to cross to back those in the Sinai. The security and intelligence officials spoke on condition of anonymity because they were not authorized to talk to the press.
Israeli security officials say their military has not taken any special precautions, but it is watching the situation carefully. They say they remain in close contact with their Egyptian counterparts, and that Egypt has coordinated its security moves in Sinai with Israel, as required by their 1979 peace treaty.
"The situation is not secure. It is better to be home than to go out into the street," said Moussa el-Manaee, a resident in the northern Sinai town of Sheikh Zuweyid, which has a heavy presence of jihadi groups. "I am afraid to ride my car and catch a stray bullet."
Sinai has been the most lawless corner of Egypt since the ouster of autocrat Hosni Mubarak in early 2011, with increased violence. Police stations were torched and security forces kicked out of tribal areas where they were notorious for abuses. Shootings took place regularly on police and military outposts.
But after the military deposed the Islamist president on July 3, militant groups have lashed out.
In the past 10 days, at least eight security officers have been killed, the most recent on Friday. Two Christians have also died, one a priest. A gas pipeline to Jordan was bombed, ending a lull in such strikes.
Gunmen carried out a bold attack on the military section of an airport in the northern Sinai capital of el-Arish. They also opened fire on the convoy of the commander of the 2nd Field Army, who escaped, but a 5-year-old girl was killed in the subsequent gunbattle.
Morsi supporters around the country are protesting to demand his reinstatement, saying the army's ouster of the country's first freely elected leader has wrecked democracy. His removal came after millions around the country joined anti-Morsi protests.
For militants in Sinai, however, restoring Morsi is not the priority -- they have said their goal is to drive out the military and the authority of the central government. His removal, however, took away a leader seen as reining in security crackdowns.
"Morsi had given them cover to a certain extent," said Ahmed Salama, who works for a leading civil society group in northern Sinai. Now extremists fear "the army can go after them," and at the same time "they see this as an opportunity to kick the army out of Sinai."
Shortly after Morsi's was removed from office, thousands held a rally in northern Sinai proclaiming over loudspeakers the formation of a so-called "war council." They proclaimed that "the era of peace is over" and vowed security forces would be expelled.
"Ansar al-Shariah wants to create an Islamic Emirate," said al-Manaee, a businessman with tribal links to extremists, referring to one of the militant groups operating in the area.
Extremist groups in Sinai had a complicated relationship with Morsi. The groups reject as too moderate the ideologies of his Muslim Brotherhood and even of the ultraconservative Salafis, viewing their participation in elections as heresy. Instead, they demand imposing a strict implementation of Shariah.
Salafis often mediated with militants and urged them to give the president a chance. The Salafis have wide influence in Sinai, and many of them sympathize with the extremists' goals, if not their violent methods.
At the same time, Morsi warned against heavy security crackdowns that fueled local outrage in the past, preferring negotiations and promises of development. Critics accused him of being reluctant to go after militants for fear of alienating ultraconservative allies, while locals say his government failed to improve the quality of life in Sinai.