By dissimilation from earlier bomir, from Latin bombiō (“to buzz”).
Practice speaking and memorizing "bonir" and many other words and sentences in Catalan.