Foam
Old English fām (noun), fǣman (verb), of West Germanic origin; related to Old High German feim (noun), feimen (verb).
wiktionary
From Middle English fome, fom, from Old English fām, from Proto-Germanic *faimaz, from Proto-Indo-European*(s)poHy-m-os, from *(s)poH(y)-(“foam”). Cognate with German Feim(“foam”), Latin spūma(“foam”), Latin pūmex(“pumice”), Sanskrit फेन(phéna, “foam”), possibly Northern Kurdish fê(“epilepsy”).
etymonline
foam (n.)
Middle English fom, fome (c. 1300), from Old English fam "foam, saliva froth; sea," from West Germanic *faimo- (source also of Old High German veim, German Feim), from PIE root *(s)poi-mo- "foam, froth" (source also of Sanskrit phenah; Latin pumex "pumice," spuma "foam;" Old Church Slavonic pena "foam;" Lithuanian spainė "a streak of foam"). The plastic variety used in packaging, etc., so called from 1937.
foam (v.)
Old English famgian "to emit foam, to boil," from the source of foam (n.). Sense of "become foamy, to froth" is from late 14c. Transitive sense is from 1725. Related: Foamed; foaming.