High voltage drop on Nano outputs caused by sketch

Which "sequence"?
What's the voltage at the resistor?