SSDs are silent. My guess would be your motherboard isn't shielded or grounded properly. There can be many causes to this, but some of the common fixes:
- Visually inspect the motherboard to make sure everything is seated properly, nothing is loose. Reseat any PCI/PCIe cards and plugs. Reseat anything plugged into the back of your PC like headphones or cables.
- Attempt to disable the sound (integrated or third party) and see if the noise goes away, to narrow down the source.
If this started just after plugging in your drive, verify the cables to your drive are tight. Consider using another power cable to your SSD.