If it's a full train, it could be that the crew timed out and had to tie it down (common on a shortline or regional railroad). Perhaps the train is of very low priority and must stop for a long time to allow other trains to pass. It could have mechanical issues. There could be trouble down the line.