The statins could be the culprits, it’s a known side effect. I would speak to your Dr, a different statin may not cause aching muscles. I'm now on Rosuvastatin 20mg.
As an aside I have suffered with aching leg muscles for several years. Long before I started taking statins. I did speak to my Dr about it very recently. He suggested taking Creatine monohydrate 5 mg daily. It has made a big difference, I barely notice the aches. Obviously it's a supplement so best speak to your Dr, but it worked for me. I take the pure form, no additives, no flavours.
Edited to amend first sentence