You are probably hearing "coil whine", where parts of the power supply circuits are vibrating and creating noise. If it only happens under very specific load, you can get the effect of only doing it while doing something specific. Displays also can make noise depending on what it is displayed, which probably is a similar mechanism.