Nukajiji,
Physiologically, the atrophy is caused by non-use of the muscles. Just as the old saying go, "Use it, or lose it." Not using the muscles can be due to a lot of reasons; injury, surgery, age, illness, bedrest, space flight, etc.
Pain is a great inhibitor of patients wanting to move, to use the muscles. It even causes the muscles to lose their normal resting tone.
So, the surgery itself actually doesn't cause the atrophy, not using the muscles does. But, surgery causes pain. Also, after certain orthopedic surgeries, the patient is not allowed to use the muscles, because it would put too much stress across the healing fracture. So, all this put together, leads to significant atrophy.
Usually, in orthopedic surgery and injury, the pain is at its most intense in the first week or so, so that is the time when the patient really does not do much moving around, so development of atrophy is at its height.
Also, in some approaches used in orthopedic surgery will disrupt muscles. Usually, the surgeon tries to use approaches that move the muscle, as a whole, out of the way, rather than cutting through a muscle belly, but sometimes, muscles are disrupted. When this occurs, it takes a little longer to get the muscles going again.
So, again, anything that causes you to not use the muscles will cause atrophy. In the removal of the hardware, they have to use the same incision as when it was put in, but, usually not as much tissues has to be dissected. The fracture does not have to be reduced, not heal. So, the surgery is a much easier one. Most patients are up and moving around a lot faster. There is no fracture than has to be protected. The area has to be protected from excessive stress, but that is usually just protected weight bearing and avoiding impact activities for a few weeks.
It is a surgical procedure and you will have some pain, so you will have some atrophy, but not near as much as the first time.
Discuss the post-op protocol with your surgeon. Every surgeon has his/her own set of precautions after the procedure. But, that will give you an idea of what you are going to be allowed to do, so you can make arrangements for your post-op rehab.
Good luck.