I don't know the details about how different engines detect air flow and oxygen (and I doubt anyone outside of a few dozen engineers who work at the companies do) but some of the auto transmissions seem to randomly upshift and downshift for no discernable reason, even when not applying throttle at all.
Some brands are just known to throw sensor and airflow codes by mechanics up here, like Kia & GM, while others compensate fine, like VW & Subaru. I don't know how the engine software talks to the transmission software so it's hard to say how related they are.