Method — The Gemara explains the serpent's unusual face-to-face mating posture by causal inference: among the creatures, the serpent is one of the few that mate face-to-face because the Divine Presence spoke directly with it. The same explanation is given for humans and fish.
Textual trigger — Genesis 3:14, where God speaks directly to the serpent: “וַיֹּאמֶר ה׳ אֱלֹהִים אֶל הַנָּחָשׁ.” Bechoros 8a asks why the serpent is among the three creatures that mate face-to-face and answers “הוֹאִיל וְדִבְּרָה עִמָּהֶם שְׁכִינָה” (“because the Divine Presence spoke with them”).
What Is Learned: Because God spoke directly to the serpent, it mates face to face.