…try looking at it that way:
A button is a machine abstraction designed to accommodate human expression. It has a syntax whose underlying fabric is clicks/taps and mouse/finger motion. It assigns semantics to that syntax. Humans click the button with human intentions, and the machine executes the instructions.
It is a ~3-state DFA, afew teeny tiny itty bitty atoms of programming.