Wires behind medicine cabinet?

In a bathroom I'm remodeling there is a wall -to-wall vanity, with a recessed medicine cabinet and electrical on the partition at one end. The electrical (switches and a receptical) are below the medicine cabinet. I want to put a medicine cabinet and an outlet on the opposite wall, thus I need to pick up power at the existing light switches and receptical, run them up to the attic, and drop down to the new outlet below the new medicine cabinet at the right end.
I had assumed that the existing wiring would drop down between the same studs that the medicine cabinet is mounted between. Instead, I find that there is a crossbrace above and below the medicine cabinet, and the wiring comes down from the attic between the left adjacent stud space, and through a hole drilled in the stud to reach the electricals.
Why was it done that way? Is there something wrong with just running the wires in the same stud space as the medicine cabinet? If I could do it that way it would make my task a lot easier. There's about 1 1/4" between the steel back of the medicine cabinet and the gyp-board lath of the opposite wall, so i don't see the problem. OTOH, if I can't do that I will have to break out a lot of plaster in order to drill through studs etc.
TIS
Ed
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload

Because that way, the guy who's drilling the holes and running the cable doesn't need to know whether the cabinet is a flush-mount one, or not?
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload
Well, even a recess-type leaves 1 1/2" of free space. But, you could be right.
But do you know if it would be a code violation?
Thanks.
Ed

lot
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload

HomeOwnersHub.com is a website for homeowners and building and maintenance pros. It is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.