It's very strange to me to listen to music while snowboarding or cycling. Especially while cycling you need a lot of situational awareness of what's going on around you. I think it's very dangerous not to be able to hear cars coming up from behind.
You’re absolutely right, but a truly startling amount of people on the trails give absolutely zero care about other trail users and are just reckless antisocial parasites.
Some headphones (eg airpods) have pass-through audio to allow situational awareness. There are also trails in my area that allow bikes but that are very remote and are unlikely to have much bike and pedestrian traffic. It wouldn’t be unsafe to have headphones in there.