The actual original stated history near the start of the religion is that Adam and Eve weren't the "first people" to exist, just the first Jewish/Christian people created by God. Since it was common belief and understanding at the time that other gods also existed from the other religions and created their own peoples.
Judaism was monotheistic only in regards to following a single god, but it fully recognized other existences in a much larger pantheon.
It was only later that Jewish and Christian scholars denigrated the existence of other gods to be "demons" worshipped by pagans and thus lower than the "one true god" and all that nonsense.