UN says some 38,000 Palestinians have been internally displaced in Gaza as Israel continues its intense bombardment of the territory.