Just so we ‘re clear. A producer gets writing credits on a song if they compose the music(it’s variation but we’ll keep it basic). Sometimes a producer helps write the words and/or melody etc… in the case of snooze SZA wrote the words and melody. Leon made the beat.