Xbox Screeching

I've been having issues with my Xbox while playing this game. My Xbox starts making a loud screeching noise when playing. I thought it might've been a heat related issue but I played some other intensive games like Borderlands 3 and Modern Warfare and neither of these games cause my Xbox to make noise. I'm wondering if others have experienced issues similar to this.

@I-am-Ronald-I where is the origin of the noise? Can you describe the range of sounds?

My wife's power brick (the adapter portion) has a bad motor, so it will just randomly start sounding like motor winding up and back down over and over again. If it is coming from there, it is a defect that happens in some of them.

There is also noises an external hard drive will make if it isn't a good brand.