Because they provide the sweetness for this quick bread. If you use yellow bananas, your banana bread will not be sweet.