STI's have evolved in a way that makes them difficult to transfer from person to person in ways other than sex (that's why it's much easier to catch a cold than it is an STI). For men, bacteria that cause gonorrhea or NGU enter through the urethra during sex, which means you don't get infected from mutual touching or handjobs, and only rarely from oral sex.