Almost NONE of what you hear in the finished soundtrack of a movie was recorded while the picture was recorded. It is difficult enough to get professional-quality pictures on film or video without recording the ACTUAL sounds at the same time.
In more cases than you suspect, even the DIALOG you are hearing wasn't spoken while filming the scene you are watching. They do ADR (Automated Dialog Replacement) in isolated sound studios to make "clean" replicas of what the actors said during primary shooting. They generally try to avoid this because it is expensive and time-consuming. But sometimes, it is the only way to get clean dialog tracks to work with.
Ironically, at both ends of the production spectrum, at the low, no-budget end, and at the very high block-buster end, sound recordists go out and record the ACTUAL sounds of what you see in the movie. In the case of low-budget productions, actual sounds are recorded because it is too expensive or otherwise difficult to find "stock SFX" (sound effects).
And in very high-end production, they go out and record the actual sounds for authenticity because they have the budget and schedule to do that. 900
But for most Hollywood-style movies and most TV shows, editors have a very wide collection of pre-recorded SFX libraries to assemble the sound track from. And if the sounds are actually important to the story-line, hopefully they have content experts to help them make these kinds of editorial decisions.
But the majority of movie/TV sound tracks are put together assembly-line style in mixing studios. And the people creating the mix (and the "Sound Designer" on bigger movie productions) make pragmatic decisions about what stock SFX sounds to use. In many cases, they use sounds that do NOT equate to what you are seeing. For example we regularly see people being interviewed on the news and they say something like "I didn't realize it was a gun-shot, it sounded like fireworks." And that is because you almost never hear the REAL sound of a firearm because it is not "sexy" enough. You hear an enhanced sound with reverberation (even outdoors) and even ricochet sounds even where it isn't appropriate. Because that is what the audience EXPECTS to hear. 900