One of the ruler is obviously in a bogus state. I can get it to repro by zooming out far away. You can get back to a correct state by hitting ‘H’ on the keyboard to home to the scene animation range.
I logged a bug for it: #73605 Zooming out the animation editor corrupts the rulers