Ultimately from Spanish caballo, from Latin caballus. A neighbouring language probably served as an intermediary.
kawáj