Troops moved closer to the center of Gaza City, backed by airstrikes and some gunfire from warships offshore.