Treasury Secretary Scott Bessent’s partisan comments are causing concern among investors and lawmakers, as he breaks with tradition and engages in combative rhetoric.