The two highlighted sentences are unrelated, so I don't think you can derive a definite common rule for both of them. They do both build on the context provided by previous sentences, which is why they can be understood by the casual listener—they could not reasonably be understood, if they were written on their own.
If you're looking for an explicit reason that the highlighted sentences are reasonable, the answer might simply be that we have a natural threshold for colloquialism—especially in sitcoms, which are typically built around informal interactions between people—but you wouldn't write either of them in a formal document.
They might be better described as tropes, since their structures are recognisable in other comedic performance.
In the first example, B is asking a question and immediately answering that question, in acknowledgement of the familiar circumstance. I think the term too tight is trying to imply that B is happy about the situation but it feels forced. It may an attempt to highlight one of B's character traits, if they are supposed to be conversationally awkward; otherwise, it it simply a bad line, hopefully smoothed over by the actor's confidence in delivery.
In the second example, B is explicitly trying to cover for a previous improper action. B knows that is not acceptable for a police officer to take part in (or approve of) a beating, regardless of the victim or motive, but they are hoping to convince C not to punish them, by suggesting that C has misinterpreted their shouting – B is not screaming that they love the beating (a perceptably bad thing); they are screaming that they love justice (a perceptably good thing).
Whether C ultimately allows B to continue working as a police officer will ultimately set the tone for the sitcom. I'll guess that the sitcom is ultimately a vehicle to showcase B's actor's "talent", so I expect they probably get away with it after some sagely admonishment from C (rather than the full weight of an internal investigation).
In any case, no gerunds were used in the crafting of those sentences. A word ending in -ing is only a gerund if it is replacing a noun.