Hydrocarbon organic material, as found in the interstellar medium, exists in complex mixtures of aromatic and aliphatic forms. It is considered to originate from carbon-enriched giant stars during their final stages of evolution, when very strong mass loss occurs in a few thousand years on their way to becoming planetary nebulae. We show here that the same organic compounds appear to be formed in previous stages of the evolution of giant stars, more specifically, during the first-ascending giant branch K-type stars. According to our model, this happens only when these stars are being abruptly enriched with lithium, together with the formation of a circumstellar shell with a strong mass loss during just a few thousand years. This sudden mass loss is, on average, a thousand times larger than that of normal Li-poor K giant stars. This shell would later be detached, especially when the star stops its Li enrichment and a rapid photospheric Li depletion occurs. In order to gain extra carbon-based material to form t