The mood value is a value that determines how often ambience sounds play. This value is visible in the debug menu (F3) behind the sound numbers "(Mood: X%)". In darkness it increases, in light it decreases. But when the value is non-0% and you leave and rejoin the world, the value is 0% again, as it isn't saved to the player's NBT data.
Can confirm. Also affects 20w49a.