Inherited from Vulgar Latin *ringulāre, from Latin ringor (“to snarl; to be vexed, to be angry”).
Practice speaking and memorizing "rilhar" and many other words and sentences in Portuguese.