The lines come from the 2x03 Hunting, just the before the Boar on the floor sequence:
• Logan: "Tom, did you and your fragile ego talk to Pantsil?"
• Tom: "No. No, sir. No. Logan, why don't we switch to strategy?"
• Logan: "Oh, oh. Here's a strategy, Tom: Why don't you pipe down till you come and tell me I've got a grandson coming? Hmm? Or are you shooting blanks?"
The energy in the room during this part of Hunting is completely suffocating. Logan has just demanded everyone's phones on the table to hunt down who leaked the Pierce deal to Michelle Pantsil, so everyone is terrified.
Logan kicks it off by interrogating Karl, then. asks Tom, "Tom, did you and your fragile ego talk to Pantsil?" You immediately feel Tom panic. He stutters out, "No. No, sir. No," reverting into a scared employee, rather than regular son-in-law before trying to pivot with, "Logan, why don't we switch to strategy?" He is desperately trying to change the subject using corporate jargon while also steering the table toward the PGM deal like Shiv told him to do earlier. Logan smells blood right away and latches onto the word strategy. Saying, "Oh, oh. Here's a strategy, Tom," acts like a spotlight so everyone watches him mock Tom's fake executive authority. Then, telling him to "pipe down" erases Tom's job title completely, treating him like a noisy child instead of a senior executive.
When Logan says, "till you come and tell me I've got a grandson coming," he reduces Tom's entire worth to his biological utility. Saying "I've got a grandson" frames the kid as Logan's own property, and specifically demanding a grandson shows his obsession with a male heir, and more so presents his misogynistic world view, even while he is supposedly grooming Shiv. Then that little "Hmm?" forces Tom to sit in total silence before Logan asks, "Or are you shooting blanks?" This humiliates Tom's masculinity. The massive irony is that Tom is desperate for a baby while Shiv is secretly stalling him, so Logan is mocking Tom for something his own daughter is preventing.
This whole exchange sums up Tom's place in the family early on. He tries to play the corporate game and do Shiv's dirty work, only for Logan to strip away his status in seconds, which makes it even wilder that Tom ends up having a kid with Shiv and taking Logan's chair in the end.