Kids throw crap at trains all the time.
Wow! In my time we threw eggs. ;>
Yes, that’s my theory as well. Largeish rock, fast train... Question is, did it have any material effect on the derailment? I suspect it’s a red herring.