The story
From pea soup + -er (suffix meaning ‘person or thing connected with’); * (dense, yellowish fog): from the appearance of the fog * (French-Canadian person): may be from the prevalence of pea soup in French cuisine: compare pea soup (“(slang, derogatory) French person”).
Etymology from Wiktionary, CC BY-SA 4.0.