Charlie has the WHOLE yard to pee on. Why the H did he have to lift his leg on me?

Is this a dominance issue? Looks like we'll be back on the leash inside again. He was doing sooo good! Why now?