Same issue recently on a MacBook Pro (14inch, 2021), had another mbp since 2015 and it never cracked...
It happens with Spotify so I thought it was the app's problem at first, but apparently it probably wasn't. Here is a post from the community:
Crackling/Clipping Noise on Macbook
[https://community.spotify.com/t5/Desktop-Mac/Crackling-Clipping-Noise-on-Macbook/td-p/5016088/page/4]
I didn't try every possible solution they mentioned since it seems in the end always failed, but when someone suggested it could be effected by memory pressure, it reminds me I used to have the memory cleanser with me (though I never know if it's helpful). So I turned it on and it seems reduce the frequency of cracking in a certain extent, but no not fixed, just to a bearable level (for now)