Its Natures way of making sure theres another generation..

a ripe Female will somtimes shoot whats called a Male Banana to reinsure it has done its job by natures law...

Zandors thread explains it more detail and way better than I ever could so I suggest you read the link that Garden_knowm provided.....