Because those sections of the Bible were fabricated by neighboring Canaanite herder tribes in the 9th century BC as justification for their unification. Why would they know what Egypt was like?
Not really, no. It has been speculated that Akhenatens elevation of Aten above other Gods inspired the monotheism of Moses. But AFAIK this is pure speculation without a shred of evidence. Moses might not even be historical anyway, and the chronology is off. It is much more likely the later monotheism was inspired by Persian religion.
Was Moses a monotheist, though? I thought that at the time depicted in the Pentateuch, the Israelites were henotheists - they believed that there were many gods but that YHWH was the only one worthy of worship.