It actually has its roots in hyperdiffusionism, an early 1900s idea that some lost civilization invented all these technologies and did all the impressive things, and anyone who did anything neat is descended from them. This lost master race - surprise! This is totally a nazi thing. The people who came up with this were nazis.
The modern appeal comes from a lot of racism (it's never aimed at, say, Romans), a lot from anti-intellectualism (the news constantly peddles bald-faced lies through "experts" so all experts are untrustworthy), and sadly I think a lot comes from the US de-funding schools (you never got a real history class so the first youtube conspiracy theorist you hear is your first exposure to "history" and you don't know better). And some of it is still nazis.