Bank of America has positioned itself as one of the leading lenders in the green credit space, while peer Goldman Sachs is facing questions from the Securities and Exchange Commission over greenwashing claims.