So the banana peel & sap must contain an alkaline chemical that causes the blue color and likely the tart taste of the ripe fruit.
Here is an interesting article about ripe bananas glow blue under Black light.
https://www.telegraph.co.uk/news/sci...ripe-ones.html