The medical officials say the children , who were cousins aged 10 and 12 , died in the explosion Wednesday in the northern Gaza Strip .