The day is not 24 hours
The Earth does not take exactly 24 hours to turn. It is usually a millisecond or so slow, it speeds up every northern summer, and since 2020 it has been turning faster than at any time since atomic clocks began to check.
What this is. The length of every day since 1 January 1962, from the International Earth Rotation and Reference Systems Service (the EOP 20 C04 series, Paris Observatory). Radio telescopes time the Earth's turning against quasars; the figure is how much longer than 86,400 seconds each day took, in milliseconds. The blue lines are leap seconds, found in the same file as the days on which Earth time and clock time jump apart by a second.
In the 1970s the day averaged 2.8 milliseconds long, and a leap second was needed almost every year to let the Earth catch up: 27 since 1972. Then the Earth sped up. Every year from 2020 to 2025 averaged shorter than 24 hours, the shortest day on record is 5 July 2024 (1.65 ms short), and no leap second has been added since the end of 2016, the longest gap there has been. Each year the day is about 1.1 ms shorter in July than in April, as winds and the seasons move mass about. The record says what happened, not why: the long swings are thought to come from the Earth's core, and nobody can forecast them.