How can a clock stop working at 99 o'clock?
It's rather simple, actually − the electronic controller must have experienced a failure and the memory module ended up with unexpected remaining electrical charge when it started working again, but the clock was not designed to counter this possible error, so it does not reset the memory, which results in impossible time, like in this Russian Elektronika-6 clock:



You could probably get more technically correct answers at Electronics.SE