The technique makes both excerpts effective is an appeal to logic.
Logos is the logic, reasoning and argument, or simulation of it, in a persuasive appeal.
Logos is a persuasive technique that tries to persuade an audience using logical arguments and supporting evidence.