Cheap power supplies are notorious for this and also very dangerous, as line voltage can be present on the low voltage side of things. Every year people get electrocuted from cheap chargers.
This guy does tear downs of chargers in an effort to find a sub-$5 one that produces good output and won't kill you. He hasn't found one yet...
https://www.tomshardware.com/author/daniel-sauvageau