While it doesn't excuse the original crappy work, I can nearly guarantee that most of the mess here was caused by a re-roof job. Nobody called an electrician to get conduits out of the way and then reinstall them. I see it all the time.