Happens occasionally with me, usually if I get interrupted by a call or something. But if I restart the game, the sound's back.

I think by clicking you mean the keyboard still has sound? The keyboard is not really part of the game, so the sounds stays even if the game's doesn't.