It doesn't work, why, followed by it works, why: that is the programmer's problem in two questions, and a meme developers have passed around for years. The first is an ordinary bug. The second is worse, because code that starts working for no known reason can stop the same way.
Two states, one developer, zero understanding of what changed