Why do idle computers make noises?
The noise can be coming from the coils of DC/DC converters. When there is a sudden need for more power when the CPU starts doing something, core voltage can be increased and current demand is higher. The sound can be a click, tick, or a larger burst of ticks, kind of a squealing noise, when a power converter reacts to larger power demand or reacts to lower power delivery.