Why do trains sound their horn? Federal law requires the train crew when approaching a road crossing to sound the horn at all public crossings for the protection and safety of motorists and pedestrians regardless of whether crossings with gates and lights are present.