ever have a car towed up or down significant altitude changes?
I have. 3000 feet, it took a good 15 minutes for the car to be back to normal, Fuel Injected.
if you're taking 15 minutes to climb to 3000 then that's OK, but most of us aren't.
To answer your question Where I come up with this stuff? Personal experience.
OK, your car obviously didn't have a barometric pressure sensor. Most cars don't now a days because cars don't change altitude very fast and we can make a pretty good guess over time - and leaving the sensor out saves $3 to $5 - that's a lot of money. If I were designing the controls for an aircraft instead of a car, then I would be more likely to include a barometric sensor.
It isn't a question of basic capability, but one of design / cost trade offs for a particular application. Someone saved a few bucks on sensors for your car.
But then, it also depends on how the air flow is measured. Most current production automobiles use one of two systems - a Mass air sensor, or a speed density calculation. The mass air sensor uses a hot wire exposed to a portion of the air flow and determines the mass (and I mean mass, not volume) flow rate of air into the engine - from that I can determine how much fuel to supply. Speed density is a system where you measure the absolute pressure and temperature of the air in the intake manifold and thus calculate the density. Given the density of the air in the manifold, the engine speed, and assumptions about the volumetric efficiency, I can again determine how much fuel is needed. Those two systems are relatively insensitive to altitude changes. Your vehicle may have used a vane based sensor or a throttle angle based air flow estimate that is much more sensitive to altitude. It would make sense to design the sensor set to match the application and expected operating conditions.
You may have noticed that when you step on the gas pedal, the engine keeps running. That is because the calculations in the powertrain control module are updated on a time scale of tens of milliseconds. And, as fast as you can change the air flow by moving the throttle, I can change the fuel to match (and even make adjustments to compensate for the fact that some of the fuel injected ends up on the walls of the manifold as a "puddle".)
Keeping up with a 2000 feet / minute change in altitude would be trivial compared to the other things that I have to compensate for (fuel vapors from the evap canister and fuel tank vent, for example).