That’s from the Terror at 5 1/2 Feet, from The Simpsons episode Treehouse of Horror IV. It’s known that that story is based on The Twilights Zone’s Nightmare at 20,000 Feet, although there the gremlin looks a bit different.
But I was looking for non-awful sci-fi short stories (pre-decline Hugo short story nominees, to be precise) and came across this old Asimov’s Science Fiction Magazine cover. It could be a coincidence, but I wonder if this inspired them to some degree when they designed the gremlin: