About a year ago the Ford CEO (who is also Chris Farley's cousin) explained why legacy car manufacturers could not make good software: each of their cars have 150+ modules, each of them from several suppliers, each of them writing their own software.
For every software change on each module, they have to go to a supplier to ask because of IP rights.
That is why Ford is/was trying to build a new generation of modules with in-house software which they never wrote before.
Also pertinent: "Why Ford decided to merge its next-gen architecture with its current platform" https://archive.ph/CR2Pv