The exact first appearance of “it ain’t got no gas in it” is hard to pin down from memory alone, because phrases like this spread through oral culture, regional speech, and music before they show up in print.
What we can say confidently is this: the core metaphor—fuel equals power—has been used for generations in American English. Slang often takes a literal object and turns it into a measurement of energy, motivation, or effectiveness.
“Gas” as a metaphor is especially common in speech because it’s tightly linked to everyday life and transportation. That makes it an attractive candidate for figurative phrases: people already know the “rules” of gasoline, so the metaphor stays clear even when the context is chaotic.
If you’re researching the phrase, you’ll usually find it tied to neighborhoods, community talk, and lyric-heavy writing where repetition matters. The popularity of the sound can matter as much as the meaning.