The crackling noise on your Nintendo Switch is likely caused by a bad connection. Check all the connections and cables in your sound system to find the source of the problem. This can sometimes happen if cables have become loose, especially if you have pets in the house.