*buk,*buək (Proto-Malayic) comes from Proto-Malayo-Polynesian buhək, from Proto-Austronesian bukəS — hair.