Not to cloud the issue (though this clouds the issue), but the crossing gates at this crossing had a history of misbehaving.
Either the truck was trying to derail the train...or being aware of the historical misbehavior of the gates was simply trying to stay on schedule.
I think ‘e’s got it! ‘-)