Computer speaker

When using Audacity to listen and record at the same time, why do the computer and external speakers and headset quit producing the sound from the music you are playing?

Which version of Audacity?
What are you recording?
Is “Software Playthrough” enabled or disabled? (It is disabled by default)