I noticed exactly the same thing on a new Mac mini M2 base model when I conncted the power cord. Now I'm relieved that it seems to be a common problem.
I don't know anything about electronics. Do you think this is some kind of defect or bad design of the power supply?