The wrong audio output is selected
The classic one : the sound goes to a Bluetooth headset, an external display or another output. Check in Settings > Sound > Output that “Internal Speakers” is indeed selected. Unplug a jack or disconnect a Bluetooth device left paired.
Test : turn off Bluetooth for a moment to see whether the sound comes back.