The reason that trains honk their horns so much at night is because it's dark and the trains aren't so easy to see. Even though the lights are on, you sometimes can't see them coming, especially around the many blind curves that Gilroy has, like the one near Leavesley and the one near the train station.