I still personally believe that the basic effect described by Dunning-Kruger does in fact exist on some level. If it’s not due to cognition, that seems to imply that essentially everyone at every intelligence level accurately estimates their own intelligence, that would be weird.
Dunning-Kruger became popular because it gave a name to an apparent phenomena.