Sometimes it is hard to understand why someone does what they do, but this is definitely a sign that an electrician was not involved. This is a hazard for shock and needs to be corrected. Electrical wiring should always be performed by an electrician or someone with intimate knowledge electrical codes and practices.