Onomatopoeic. Compare trappe, trampa.
Practice speaking and memorizing "trapa" and many other words and sentences in Catalan.