Aristotle said this quote

The secret to humor is surprise.