Palestinian medics said more than 40 people, most of them children, were receiving treatment in two hospitals.