Some Dell XPS models suffer from coil whine. Usually, you can’t completely fix it, but you can significantly reduce it. Possible solutions are undervolting and better thermals by thermal paste and thermal pads.