According to the Benign Violation Theory, humor has its roots in potentially negative experiences (i.e., violations) that are made to seem okay in some way (i.e., benign). That makes joke telling risky because you can fail by being too benign or by creating too much of a violation.