The Max was designed with disproportionate input from bean counters, with predictable results.
Design change to increase passenger capacity and not have to design a new plane, which would have required all their pilots to be retrained on a new plane design.
So, they threw these huge jet engines which are too large(by diameter) to fit under the wing. Solution was to move them forward. That changed weight balance and required software to “fly” the out of balance aircraft so it didn’t crash. Well oops it did a few times!