My understanding was that they’re trying to use software to make their new planes fly like their old planes (at least that was the reasoning for MCAS in the 737 MAX). In super basic terms, if the new plane doesn’t fly like the old plane, all the pilots need to be retrained. This is a significant expense that could make a serious dent in sales.
I don’t think it’s anything to do with size, there are larger planes than the 777X that are perfectly safe (and of course, the 737 is pretty small as far as airliners go).