It is more convenient to put the ear to the track to hear a train approaching from far away because sound travels faster in solids than in air because the speed of sound is directly proportional to the density of the material medium. In this case, the density of railway track is higher than air. Hence, sound waves travel faster through the railway track.