President Donald Trump is bemoaning the complexity of modern airplanes in the wake of two deadly crashes in the past five months.

Trump tweeted Tuesday that the additional "complexity creates danger" and hinders pilots from making "split second decisions" to ensure their passengers' safety.

He added that "I don't know about you, but I don't want Albert Einstein to be my pilot."

The president did not specifically mention the crashes but his remarks come after several nations, but not the United States, have grounded the Boeing 737 MAX 8 aircraft.

RELATED: 737 MAXs flew 7,600 flights in the U.S. in the past week

RELATED: FAA says it is not grounding Boeing jet

The aircraft crashed in Indonesia last year and in Ethiopia on Sunday.

Trump participated in a signing ceremony last month in Hanoi between U.S.-based Boeing and the Vietnamese government.