A magnesium deficiency can cause twitching in your legs, but I don’t know if anyone on the internet would be able to help tell if the pulsing sensation is caused by muscles contracting or something else.
If you have decent access to healthcare and it’s bothering you, bring it up with your doctor. It’s unlikely anyone here is qualified to be giving you medical advice. And if they were, they likely wouldn’t be comfortable giving a diagnosis based only on a post.
“I need you to be able to tell me what’s wrong with this without me explaining it verbally.”