Boeing Company President and Chief Executive Officer Dennis Muilenburg speaks to the families sitting in the audience on Capitol Hill in Washington, Tuesday, Oct. 29, 2019, as he begins his opening remarks before a Senate Committee on Commerce, Science, and Transportation, during a hearing on "Aviation Safety and the Future of Boeing's 737 MAX." (AP Photo/Susan Walsh)

WASHINGTON – Boeing chief executive Dennis Muilenburg faced intense grilling by US lawmakers at a hearing on Tuesday over what the company knew about its MCAS stall-prevention system linked to two deadly crashes, and about delays in turning over internal 2016 messages that described erratic behavior of the software in a simulator.

The hearing, the highest-profile congressional scrutiny of commercial aviation safety in years, heaps pressure on a newly rejiggered Boeing senior management team fighting to repair trust with airline customers and passengers shaken by an eight-month safety ban on its 737 MAX following the crashes, which killed 346 people.

“You have told me half-truths over and over again,” Senator Tammy Duckworth told Muilenburg, questioning why the manufacturer did not disclose more details about MCAS’s lack of safeguards. “You have not told us the whole truth and these families are suffering because of it.”

Duckworth said the pilots did not know enough about MCAS. “You set those pilots up for failure.”

Muilenburg acknowledged errors in failing to give pilots more information on MCAS before the crashes, as well as for taking months to disclose that it had made optional an alarm that alerts pilots to a mismatch of flight data on the 737 MAX.

“We’ve made mistakes and we got some things wrong. We’re improving and we’re learning,” he said.

On Tuesday, U.S. Representative Peter DeFazio, who heads the House Transportation and Infrastructure Committee that will hear from Muilenburg on Wednesday, said in a written statement for the hearing that the panel was aware of “at least one case where a Boeing manager implored the then-Vice President and General Manager of the 737 program to shut down the 737 MAX production line because of safety concerns, several months before the Lion Air crash in October 2018.”

Boeing did not immediately comment.

“Something went drastically wrong, a total of 346 people died, and we have a duty to fix it,” DeFazio added.

Senator Jon Tester noted Boeing had won approval from the Federal Aviation Administration (FAA) to avoid having to add new crew alerts because it would have been expensive. “It wouldn’t have happened if FAA would have been doing their job and it also wouldn’t have happened if you had known what the hell was going on,” he said.

Tester, a Montana senator, said widescale changes were needed. “I would walk before I would get on a 737 MAX. I would walk. There is no way ... You shouldn’t be cutting corners and I see corners being cut.”

Taking turns to grill Muilenburg during his first appearance at a hearing on Capitol Hill in the year since the first crash in Indonesia, senators suggested Boeing had not been completely honest and expressed dismay that the 2016 instant messages did not prompt an immediate reaction from the company.

Senator Ted Cruz said he could not understand why the messages did not prompt an immediate response from Boeing senior management, saying the exchange about the problems “describes what happened in Lion Air and Ethiopian Airlines.”

He questioned why Muilenburg did not read the messages earlier.

“How did your team not put in front of you, run in with their hair on fire saying ‘we have a real problem here’?” Cruz said, asking why the messages did not prompt a “nine-alarm fire.”

For months, Boeing had largely failed to acknowledge blame, instead vowing to make a “safe plane safer.” Tuesday’s hearing represents Boeing’s broadest acceptance of responsibility that it made mistakes but Muilenburg stopped short of what some lawmakers and family members had sought.

Despite the tough questions, Boeing shares ended 2.4% higher at $348.93 on Tuesday.

U.S. Senator Roger Wicker, chairman of the Senate Commerce Committee, questioned Muilenburg over the company’s delay in releasing the IMs in which a former test pilot described erratic behavior of a simulator version of the MCAS software and also mentioned “Jedi-mind tricking” regulators over training requirements.

Wicker said those messages revealed a “disturbing level of casualness and flippancy.”

The FAA is demanding significant new safeguards to MCAS before the plane can fly again.