I agree with Kebowers. It was unavoidable and it wasn't your fault.
Your wiring harness was already damaged, but the problem didn't surface until the harness was moved.
It is almost always after a head gasket replacement that the dreaded engine wiring harness rears its ugly head.
2001 E430, Bourdeaux Red, Oyster interior.
1973 280SE 4.5, 170,000 miles. 568 Signal Red, Black MB Tex. "The Red Baron".