The goods train was travelling from Bathinda towards Ambala when the incident occurred.