Dual Pull-Up Resistor Button
IN the working circuit, you have two independent circuits in paralllel between +5V and Gnd.  What you do with one circuit will not affect the other circuit.
You may have heard the expression &quot;Current will follow the path of least resistance&quot;.  That expression, while true, is incomplete and misleading.  Many beginners seem to read it as &quot;current will only follow the path of least resistance&quot;, which is definitely wrong.
Current will follow all possible paths, with the current in each path determined by the resistance in that path.