Investigators are looking into the possible role played in each crash by the 737 Max's Maneuvering Characteristics Augmentation System (MCAS), which points an aircraft's nose downward if the plane is flying at too steep an incline.
Boeing installed the system on 737 Max aircraft because they feature larger engines that had to be mounted in a different way than those on prior 737 aircraft. The new engines created a tendency for 737 Max aircraft to tilt upward, which makes it more likely that they will stall in mid-air. The MCAS was designed to counter this tendency.
Evidence from both incidents indicates that the pilots on each flight struggled against the MCAS before their planes crashed, and speculation from observers has suggested that the sensor that causes the MCAS to point the plane downward may have activated in each case due to an error.