How does my Casio watch know the altitude in flight?
The pressure in the cabin does not remain the same. It decreases, but much more slowly, in such a manner that when the aircraft is at 37000 feet the pressure in the cockpit is the equivalent of 7000 or 8000 feet. Keeping the cabin pressure at sea level would pose incredible stress on the fuselage, due to huge difference in pressure between the inside and the outside.