Officials say a car was trying to cross railroad tracks when they were hit by a passing commuter train.