Audacity is not to blame, it’s either Windows “audio enhancements” adding the noise-gate,
or audio enhancements added by the computer manufacturer, e.g. MaxxAudio.
All audio enhancements (recording & playback) should be turned off for a faithful recording.