It sounds as though your laptop has what is called "coil whine". Essentially, coil whine is the audible effect of components vibrating, especially when under high load / high power. It can sound like a whine, buzz, rattle or vibration. This happens with many components, but often it's not loud enough for us to hear or at a frequency that we don't hear well. These two pages have more explanation and some tips to reduce the effect: Unfortunately, you may not be able to eliminate it to your satisfaction. Much depends upon how you use your computer, the acoustic qualities of your room, other ambient noise, etc. I once had a Netgear router whose coil whine was particularly annoying to me. I found that the volume varied among units of the identical model. I tried two or three other units of the same model in the store, and found one that I couldn't hear. Even though they were the same model, same components and power supply, two or three of them were loudly annoying to me, but the last one was inaudible.
Hello, I have a 2020 Dell XPS 13 9310 2-in-1, whenever it is on, and especially under a slight load, I can hear a strange high-pitched scratching noise coming from the motherboard CPU area. I will attach a link to a video of the sound. I am wondering if this is normal, as I have not heard it this loud on any other computer. The video was recorded by putting my phone flat on the keyboard and the volume was increased in post. The sound has been here since I got it. Thanks Link:  [URL]
High Pitch Scratching from XPS