Upvote:5
This occurred because there was essentially an active campaign to wipe out the great Bison ("Buffalo") herds that the plains Indians depended on to support their way of life (and thus their pushback against American settlement).
It would have come to an end during the 1880's, as by then there were only a few hundred Bison left. Sighting one from the rail lines would have been exceedingly unlikely.