At 8 and 9, most likely they are just reckless and one tried to show off to the other that he could hit the tractor from the distance.
There’s a song that Johnny Cash sings about a teen that accidentally kills a man while being reckless with his weapon.
They could’ve been shooting at a bird on a fence and just didn’t think about anything downrange.