The head of Colonial Pipeline faced tough questions from lawmakers about the ransomware attack on his company that caused a major disruption in the nation's fuel supply.