No, this is not an error in Excel, and yes, you missed something.
Excel implemented dates corresponding to Lotus 1-2-3, for which compatibility was required at that time, so this error was developed. Lotus 1-2-3 was a thinking mistake 1900 was a leap year.
See Microsoft documentation for reasons why this is not fixed.
source share