Loop with condition

the led display has complete set of drivers and current limiting resistors. may i know why the stopwatch starts right when the arduino is powered up?is it because of the D9 not connected to the ground?if its should be connected to ground, how it should be?Thank you for the help sir, im a beginner and im learning alot