why my WD black hdd has that zzz zzz zzzz sound when playing games

Solution
Sounds like you're just hearing the vibration from it. HDDs have platters inside them spinning at extremely high speeds, so they generate some vibration.
Hi there sosolola,

Sorry that you are facing some issues with your WD drive. 🙁

Is the sound really loud? Could you record it?
My suggestion would be to back up the crucial data stored on it until you sort this out.

After that, you can attach it with different SATA & power cables to another SATA port and see if the issue persists.

What testing tool have you used? You can test it with WD's Data Lifeguard Diagnostic tool(both short and extended tests): http://products.wdc.com/support/kb.ashx?id=nwGeWy

Is the HDD under warranty?

Let me know how this goes,
D_Know_WD :)