It balances against the harsh darkness of the main storyline, and in a 26 episode series you can’t just bash out war after war after war episode - everyone needs a break.
The almost entirely relentless grimness of Picard season 1 is exactly why I detested it. Except Riker's pizza episode, the rest was just characters acting unconvincingly traumatised and chugging alcohol.