It's virtually entirely due to Napoleon's campaign in Egypt from 1798 to 1801. I wrote about his scholars and the birth of French (and European) Egyptology in Seeing as Egypt was under British patronage for most of the last two centuries, why is the majority of ancient Egyptian research primarily in French?