Unknown. Possibly derived from Hebrew שמח (samákh, “to be happy”), perhaps with influence from Polish śmiech and/or Silesian śmiŏć.
שמאָך • (shmokh) m, plural שמאָכן (shmokhn), diminutive שמייכל (shmeykhl)