Around the same time, a missile hit an empty lot across the street from a road lined by seaside hotels where many foreign reporters are staying.
Matt Bradley of The Wall Street Journal said the blast broke a window in his hotel room, but a heavy curtain protected him.
"It was more upsetting and shocking than it was dangerous," he said. "I don't have any war experience. ... So this is all new for me. ... But I can't reasonably say I was surprised. This was inevitable."
Bradley said he was surprised at how precise some of the Israeli airstrikes have been.
Regev, the Israeli spokesman, alleged that Gaza militants seek out foreign journalists as unwitting human shields.
He noted that earlier this week, an Islamic Jihad militant was killed by a targeted missile strike in an apparent hiding place in a high-rise that also houses local and foreign news outlets. He said that in such cases, Israel was trying to be as surgical as possible with its airstrikes.
The Foreign Press Association for Israel and the Palestinian territories urged both sides Wednesday to do their utmost to protect journalists.
"In recent days, Israel has struck a number of buildings housing the offices of major international news organizations, while Palestinian militant groups have fired rockets from nearby office positions," the FPA said.
The FPA said it believes the Israeli military is aware of the locations of the media offices in Gaza.
At the same time, the Israeli military has refused to offer assurances that buildings housing foreign media outlets would be avoided, or that warnings would be provided.
Fred Abramhams of Human Rights Watch said that "journalists in a war zone are putting themselves at risk and have very little to complain about if they are near a legitimate target."
However, "it would be an absolute violation if they are being targeted," he said.
Associated Press writers Lauren E. Bohn in Jerusalem and Sarah El Deeb in Gaza City contributed reporting.
Copyright 2012 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.