I've done that before - no specific situation comes to mind, but I've accidentally gone all-in, got called, and pulled off a miserable suck-out. Also the other way - mis-clicked all-in and lost. In my case, it comes from multitasking, and having the mouse in the wrong place when the window pops up.