Circuit design · Inputs: buttons, pull-ups, noise
A button input that floats, leaks, chatters or dies on a wrong cable fails the same way: the firmware believes it.