President Trump and Elon Musk’s rift exploded into public view on Thursday over what started out as differences on the president’s megabill.