Social media users have criticised the failure to ensure passenger safety, while the railway police have launched a probe.