The story
From Bunbury + -ing, coined by Oscar Wilde in The Importance of Being Earnest (1895) after Bunbury, the fictitious disabled friend of the character Algernon whose supposed illness is used as an excuse to avoid social engagements.
Etymology from Wiktionary, CC BY-SA 4.0.