Boke used to be called toboke because he/she often made the audiences' laugh by acting stupid (the word is originated from "tobokeru," which means playing fool in Japanese).
もともとボケ役は、そのとぼける行為によって笑いを誘うことが多かったことからとぼけ役と呼称されていた。