What must occur for a sound wave to be produced?

Sound needs a media to propagate. Sound can not propagate in a vacuum. Sound waves, unlike light, are essentially compression waves and the sound in order to move from one place to other needs molecules to compress and decompress against, hence the wave is transmitted. In a vacuum, there are no molecules. Hence no sound.