Almost certainly derived from *batux ‘stone’, through the meaning ‘throw stones at’, but generalized in a few languages to refer to throwing anything.