My desktop is louder than usual: how do I diagnose what’s making the sound?

I’ve noticed lately that my desktop computer will sometimes, for stretches of hours or more, become louder than usual. I don’t know what’s causing the sounds, and am wondering if something might be loose. This happens even without any CPU load.

The machine is running Debian. The nvidia-smi command reports ~29% fan speed whether the machine is making the noise or not.

How can I go about safely diagnosing where the sound is coming from?