That's what happens when they're ripe. Every little bruise the banana gets can affect where these happen. You can even use a toothpick to gently draw on a banana and it will look just like a tattoo in a few hours to days, depending on how hard you pressed (you gotta press lightly)