Unexpected electrical behavior of LM555 in printed PCB

I and others have made this comment often in questions about rotary encoders, but I've never seen anyone explain it. Here is my explanation: Reading rotary encoders as a state machine