The Treasury secretary said U.S. banks are “sound” but that regulators feared the collapse of Silicon Valley Bank could have led to other runs.