Investors, rattled by the collapse of regional banks in California and New York this year, have been watching closely for signs of stress in the industry as rising interest rates force firms to pay more for deposits and bump up the cost of funding from alternative sources. At the same time, those higher rates are eroding the value of banks’ assets and making it harder for commercial real estate borrowers to refinance their debts, potentially weakening lenders’ balance sheets.