The story
First coined on media analysis wiki TV Tropes, inspired by an older pair of jokes. In the first joke, a man throws a brick in the air in the punchline. The second joke appears to be unrelated, but then ends with a dog catching the brick.
Etymology from Wiktionary, CC BY-SA 4.0.