You didn't do anything wrong.
I once shattered the windshield on a golf cart. After hitting his ball, the guy drove up the fairway 100 yards out of my reach and then drove back towards us right before I started my backswing. Ball is in the air and he's driving right towards where it's gonna land. Hit his windshield really hard, heard it crack from the tee. He was pissed but I didn't apologize or offer to pay for it. Not my fault.