It's not the flower. It's carnivorous and that's where it catches things.
They are dioecious
https://ucmp.berkeley.edu/anthophyta/caryos/nepenthales.html#:~:text=Unlike%20most%20flowering%20plants%2C%20Nepenthes,arranged%20in%20long%20slender%20clusters.