Hi Yesu
Regarding whether these men died from a divine act
As I recall from memory
(I could be making mistakes here)
David was given the choice of three punishments
And he chose the scourge because that way the deaths would
be from Yahweh
His thinking was somehow there might be less of a toll
Again I would encourage you to read over the chapter to get the correct
story
But indeed it was Yahweh (Jehovah ) that killed these men
for the sin of David
These men were innocent
Best Regards
Tepid
:0)