Which may be the cause of frequent muscle twitching and muscle aches?

Muscle twitch, aches. Painless twitching can be worrisome but if associated with aches, it suggests an actual problem with muscles or nerves. Simple things to try include assessing your electrolytes with calcium (labs) and red blood cell magnesium level. Can try oral magnesium before that (mag malate 400-600 mg per day, watching for diarrhea as indicates too much).