Middle English fleem, fleume, from Old French fleume, from late Latin phlegma 'clammy moisture (of the body'), from Greek phlegma 'inflammation', from phlegein 'to burn'. The spelling change in the 16th cent. was due to association with the Latin and Greek