Who says they were innocent?
That is a presumption you insert.
Job seemed to think his children were always being wicked, hence his constant sacrifices on their behalf.
How often do the wicked attach themselves to the righteous like leeches? Or the offspring of the righteous choose the path of the wicked?
We know Samuels sons were evil, even though their father was a mighty prophet.