“Dates to 1899, American humor origin, originally featuring a woman upset by a man's cigar smoking. Cigar often removed in later versions, coffee added in 1900. Incorrectly attributed in Consuelo Vanderbilt Balsan, Glitter and Gold (1952).”
Source: Wikiquote