If Job's children died violently, then God it was with God's consent.
Do you realize that the story is a work of prose, a parable that tries to answer the question of why good people suffer and is not a depiction of any actual life events or a historical record of any real person even though the name of the main character was taken from someone famous in antiquity for his righteousness?