The French news agency , AFP , quotes local residents as saying the blast occurred just seconds after one of the bus passengers was seen throwing firecrackers out of a rear window .