Borrowed from French bonnet. Compare boina.
Practice speaking and memorizing "bonete" and many other words and sentences in Spanish.