Every minecart, moving or not, on a rail or not, is registering as an active sound from a distance of 80 blocks from the player position.
MC-100180 Minecart sound plays for stationary minecarts
MC-91163 Certain subtitles show up when the player is too far away to hear the sound
MC-249410 Certain warden sounds can be heard from too far away