The Federal Reserve and the Securities and Exchange Commission are investigating Goldman Sachs’s GS 0.39%increase; green up pointing triangle role in buying Silicon Valley Bank’s securities portfolio while it was working on its doomed capital raise before the bank’s failure, according to people familiar with the matter.